고수님들. 최근게시물 정렬관련 문의드립니다 정보
고수님들. 최근게시물 정렬관련 문의드립니다본문
고수님들 아래의 소스좀 한번 봐주시면 안될까요?...ㅜ.ㅜ
최근게시물 latest스킨 소스인데요.. 정렬이 잘 안되서요..
ex)
테스트입니다(1) (아이콘)
이런식으로 한줄로 나와야되는데
지금은
ex)
테스트입니다
(1)
(아이콘)
이런식으로 밑으로 줄바꿈되서 나와 미치겠어요..
어디가 잘못된걸까요?..
----css-----
.lastest ul {list-style-image:none; margin-top:10px; *margin-top:6px;}
.lastest li {background:url(<?=$latest_skin_path?>/img/ball.gif) no-repeat 0 50%; font-size:11px; font-family:dotum; width:220px; line-height:20px;}
.lastest a:link, a:visited, a:active {color:#aaa; text-decoration: none}
.lastest a:hover { color:#00b8f3; text-decoration: none}
----소스-----
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<div class="lastest">
<ul>
<? for ($i=0; $i<count($list); $i++) { ?>
<li>
<span>
<?
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>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\">{$list[$i]['comment_cnt']}</a>";
//if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
//if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?>
</span>
<!--<span>
<?=$list[$i][datetime2];?>
</span>-->
</li>
<? } ?>
<? if (count($list) == 0) { ?>
<li class="websp_none"> 게시물이 없습니다. </li>
<? } ?>
</ul>
</div>
최근게시물 latest스킨 소스인데요.. 정렬이 잘 안되서요..
ex)
테스트입니다(1) (아이콘)
이런식으로 한줄로 나와야되는데
지금은
ex)
테스트입니다
(1)
(아이콘)
이런식으로 밑으로 줄바꿈되서 나와 미치겠어요..
어디가 잘못된걸까요?..
----css-----
.lastest ul {list-style-image:none; margin-top:10px; *margin-top:6px;}
.lastest li {background:url(<?=$latest_skin_path?>/img/ball.gif) no-repeat 0 50%; font-size:11px; font-family:dotum; width:220px; line-height:20px;}
.lastest a:link, a:visited, a:active {color:#aaa; text-decoration: none}
.lastest a:hover { color:#00b8f3; text-decoration: none}
----소스-----
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<div class="lastest">
<ul>
<? for ($i=0; $i<count($list); $i++) { ?>
<li>
<span>
<?
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>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\">{$list[$i]['comment_cnt']}</a>";
//if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
//if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?>
</span>
<!--<span>
<?=$list[$i][datetime2];?>
</span>-->
</li>
<? } ?>
<? if (count($list) == 0) { ?>
<li class="websp_none"> 게시물이 없습니다. </li>
<? } ?>
</ul>
</div>
댓글 전체
폭이 안맞아서 그런거 아닐까여?
아님 float:left 적어보시면?
아님 float:left 적어보시면?