그누보드4 가로정렬 한칸띄우기 질문드립니다.
본문
<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" 여기서 숫자조절 이거 말하시는게 맞나?