그누보드4 가로정렬 한칸띄우기 질문드립니다.

그누보드4 가로정렬 한칸띄우기 질문드립니다.

QA

그누보드4 가로정렬 한칸띄우기 질문드립니다.

답변 2

본문

<style type="text/css">
.div_a { width:370px; float:left;}
</style>

<div class="div_a" width="370" height="100">
<?php include "$g4[path]/skin/latest/tab_rolling/tab_rolling.php"; ?>
</div>

<div class="div_a" width="370" height="100">
<?php include "$g4[path]/skin/latest/tab_rolling/tab_rolling1.php"; ?>
</div>​

 

위처럼 가로로 최근글을 정렬했는데요

두 최신글이 딱붙어 있어서 사이를 한칸정도 띄우고 싶은데..

지식없는 초보라 아무리 찾아보고 적용해봐도 힘드네요..ㅜ.ㅜ 부탁 드립니다.

 

두개의 가로정렬된 최신글 사이를 한칸 띄우고 싶어요...

 

이 질문에 댓글 쓰기 :

답변 2

간단하게 <br> 넣으세요 

 


 
<div class="div_a" width="370" height="100">
<?php include "$g4[path]/skin/latest/tab_rolling/tab_rolling.php"; ?>
</div><br>
<div class="div_a" width="370" height="100">
<?php include "$g4[path]/skin/latest/tab_rolling/tab_rolling1.php"; ?>
</div>​
 
 

<div class="div_a" width="370" height="100">

<?php include "$g4[path]/skin/latest/tab_rolling/tab_rolling.php"; ?>
</div>

<div class="div_a" width="370" height="100">
<?php include "$g4[path]/skin/latest/tab_rolling/tab_rolling1.php"; ?> 

</div>​ 

 

이게 맞는지는 모르겠지만 두개의 사이를 좀 띠우고 싶다는건가요? 두번째 div에서


<div class="div_a" width="370" height="100" style="padding-left:10px">

 

style="padding-left:10px"​ 여기서 숫자조절 이거 말하시는게 맞나?

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 129,112
© SIRSOFT
현재 페이지 제일 처음으로