메인 최글글 margin 처리 부분 재수정

This commit is contained in:
chicpro
2013-01-24 10:08:04 +09:00
parent 6223507657
commit 50411b85e2
2 changed files with 37 additions and 35 deletions

View File

@ -17,17 +17,17 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
if(($i % 2 == 1))
echo "<div class=\"lt\" style=\"margin-left: 20px;\">";
else
echo "<div class=\"lt\">";
echo latest("neo", $row['bo_table'], 5, 25);
echo "</div>";
}
?>
<!-- 메인화면 최신글 끝 -->
<script>
$(function() {
$(".lt:odd").css("margin-left", "20px");
});
</script>
<?
include_once('./_tail.php');
?>