최근게시물 목록이 익스에서 밀려서 나오는 문제 어떻게 해결하죠? 정보
최근게시물 목록이 익스에서 밀려서 나오는 문제 어떻게 해결하죠?본문
위 그림 파일은 같은 위치를 스크린샷 찍은 건데요,
크롬에서는 맨 왼쪽에 붙어서 목록 표시가 시작되는데
익스에서는 약간 밀려서 시작되어요.
아래는 최근게시물 적용한 head부분과 최근게시물 php 파일인데요 어디를 어떻게 수정해야 할까요?
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="220">
<div class="latest"><?=latest("enaksu", "B21", 3);?></div><br>
---------------------------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style type="text/css">
.lastest {_display:inline-block; width:100%; overflow:hidden; margin:0 auto;}
.lastest .lastest_box {_display:inline-block; position:relative; overflow:hidden;}
.lastest img{border:0}
.lastest .ntitle{padding-left:0px;}
.lastest .more_btn{padding:0px;}
.lastest .lastest_box .more_btn {position:absolute; top:0px; right:5px;}
.lastest ul {list-style-image:none; padding:0 0px 0 0px;list-style:none}
.lastest li {background:url(<?=$latest_skin_path?>/img/ball.gif) no-repeat 0 50%; padding:0px 0 0px 0px; font-size:12px;}
.lastest a:link {color: #4C4C4C; text-decoration: none}
.lastest a:visited {color: #4C4C4C; text-decoration: none}
.lastest a:active {color: #4C4C4C; text-decoration: none}
.lastest a:hover { color: #4C4C4C; text-decoration: none}
</style>
<div class="lastest">
<div class="lastest_box">
<span class="ntitle"><img src='<?=$latest_skin_path?>/img/notice1.jpg' alt="title" /></span>
<span class="more_btn"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.jpg' alt="" /></a></span>
</div>
<ul>
<? for ($i=0; $i<count($list); $i++) { ?>
<li>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "{$list[$i]['subject']}";
else
echo "{$list[$i]['subject']}";
echo "</a>";
echo " " . $list[$i]['icon_new'];
?></li>
<? } ?>
<? if (count($list) == 0) { ?><li>게시물이 없습니다.</li><? } ?>
</ul>
</div>
크롬에서는 맨 왼쪽에 붙어서 목록 표시가 시작되는데
익스에서는 약간 밀려서 시작되어요.
아래는 최근게시물 적용한 head부분과 최근게시물 php 파일인데요 어디를 어떻게 수정해야 할까요?
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="220">
<div class="latest"><?=latest("enaksu", "B21", 3);?></div><br>
---------------------------------------------------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style type="text/css">
.lastest {_display:inline-block; width:100%; overflow:hidden; margin:0 auto;}
.lastest .lastest_box {_display:inline-block; position:relative; overflow:hidden;}
.lastest img{border:0}
.lastest .ntitle{padding-left:0px;}
.lastest .more_btn{padding:0px;}
.lastest .lastest_box .more_btn {position:absolute; top:0px; right:5px;}
.lastest ul {list-style-image:none; padding:0 0px 0 0px;list-style:none}
.lastest li {background:url(<?=$latest_skin_path?>/img/ball.gif) no-repeat 0 50%; padding:0px 0 0px 0px; font-size:12px;}
.lastest a:link {color: #4C4C4C; text-decoration: none}
.lastest a:visited {color: #4C4C4C; text-decoration: none}
.lastest a:active {color: #4C4C4C; text-decoration: none}
.lastest a:hover { color: #4C4C4C; text-decoration: none}
</style>
<div class="lastest">
<div class="lastest_box">
<span class="ntitle"><img src='<?=$latest_skin_path?>/img/notice1.jpg' alt="title" /></span>
<span class="more_btn"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.jpg' alt="" /></a></span>
</div>
<ul>
<? for ($i=0; $i<count($list); $i++) { ?>
<li>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "{$list[$i]['subject']}";
else
echo "{$list[$i]['subject']}";
echo "</a>";
echo " " . $list[$i]['icon_new'];
?></li>
<? } ?>
<? if (count($list) == 0) { ?><li>게시물이 없습니다.</li><? } ?>
</ul>
</div>
댓글 전체
/skin/latest/enaksu/latest.skin.php
의 내용을 아래와 같이 수정해 주세요
UL과 LI 부분에 마진값을 0px로 수정했습니당^^
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style type="text/css">
.lastest {_display:inline-block; width:100%; overflow:hidden; margin:0 auto;}
.lastest .lastest_box {_display:inline-block; position:relative; overflow:hidden;}
.lastest img{border:0}
.lastest .ntitle{padding-left:0px;}
.lastest .more_btn{padding:0px;}
.lastest .lastest_box .more_btn {position:absolute; top:0px; right:5px;}
.lastest ul {list-style-image:none; padding:0 0px 0 0px;list-style:none; margin:0px;}
.lastest li {background:url(<?=$latest_skin_path?>/img/ball.gif) no-repeat 0 50%; padding:0px 0 0px 0px; font-size:12px; margin:0px;}
.lastest a:link {color: #4C4C4C; text-decoration: none}
.lastest a:visited {color: #4C4C4C; text-decoration: none}
.lastest a:active {color: #4C4C4C; text-decoration: none}
.lastest a:hover { color: #4C4C4C; text-decoration: none}
</style>
<div class="lastest">
<div class="lastest_box">
<span class="ntitle"><img src='<?=$latest_skin_path?>/img/notice1.jpg' alt="title" /></span>
<span class="more_btn"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.jpg' alt="" /></a></span>
</div>
<ul>
<? for ($i=0; $i<count($list); $i++) { ?>
<li>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "{$list[$i]['subject']}";
else
echo "{$list[$i]['subject']}";
echo "</a>";
echo " " . $list[$i]['icon_new'];
?></li>
<? } ?>
<? if (count($list) == 0) { ?><li>게시물이 없습니다.</li><? } ?>
</ul>
</div>
의 내용을 아래와 같이 수정해 주세요
UL과 LI 부분에 마진값을 0px로 수정했습니당^^
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style type="text/css">
.lastest {_display:inline-block; width:100%; overflow:hidden; margin:0 auto;}
.lastest .lastest_box {_display:inline-block; position:relative; overflow:hidden;}
.lastest img{border:0}
.lastest .ntitle{padding-left:0px;}
.lastest .more_btn{padding:0px;}
.lastest .lastest_box .more_btn {position:absolute; top:0px; right:5px;}
.lastest ul {list-style-image:none; padding:0 0px 0 0px;list-style:none; margin:0px;}
.lastest li {background:url(<?=$latest_skin_path?>/img/ball.gif) no-repeat 0 50%; padding:0px 0 0px 0px; font-size:12px; margin:0px;}
.lastest a:link {color: #4C4C4C; text-decoration: none}
.lastest a:visited {color: #4C4C4C; text-decoration: none}
.lastest a:active {color: #4C4C4C; text-decoration: none}
.lastest a:hover { color: #4C4C4C; text-decoration: none}
</style>
<div class="lastest">
<div class="lastest_box">
<span class="ntitle"><img src='<?=$latest_skin_path?>/img/notice1.jpg' alt="title" /></span>
<span class="more_btn"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.jpg' alt="" /></a></span>
</div>
<ul>
<? for ($i=0; $i<count($list); $i++) { ?>
<li>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "{$list[$i]['subject']}";
else
echo "{$list[$i]['subject']}";
echo "</a>";
echo " " . $list[$i]['icon_new'];
?></li>
<? } ?>
<? if (count($list) == 0) { ?><li>게시물이 없습니다.</li><? } ?>
</ul>
</div>