최근게시물 간견

· 2007-09-03 (월) 01:33:32 · 1432 · 2
안녕하세용~!
최근게시물 첨적용해봤는데요
간격 조절이 안되네요
스킨에서 안되는거같더라구요~!
 
4개가 나와야되는데~ 간격이 넓어서 3줄밖에 못나오네용~
어디서 수정해야하나요?
 
 
혹시나..제가 못본건가싶어서
스킨소스 적어둘께용~~
 
<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
    <td align=center>
        <table width=95%>
        <tr>
            <td height=18>
            <?
            echo $list[$i]['icon_reply'] . " ";
            echo "<a href='{$list[$i]['href']}'>";
            if ($list[$i]['is_notice'])
    // 공지사항 체크할때 출력하는 글
                echo "<font style='font-family:돋움; font-size:11px; color:#475053;'>{$list[$i]['subject']}</font>";
            else
    // 아닐때 출력하는글
                echo "<font style='font-family:돋움; font-size:11px; color:#475053;'>{$list[$i]['subject']}</font>";
            echo "</a>";
            if ($list[$i]['comment_cnt'])
    // 코멘트가 달렸을때 출력하는글
                echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:11px; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></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'];
            ?></td></tr>
             </table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
|

댓글 2개

2007-09-03 (월) 09:15:28
1. <td height=18> 에서 height 값을 조정해보시기 바랍니다.
2. <table width=95%>에서 <table width=95% cellpadding=0 cellspacing=0> 을 적용해보세요.
위에 곱슬최씨님 말씀이 맞으실껍니다.
<td height=18> 에서 18은 충분히 위아래 좁은간격이므로 이부분은 아니고
테이블에 옵션을 주셔야합니다.

<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td align=center>
<table width="95%" border='0' cellspacing='0' cellpadding='0'> --> 이부분입니다.
<tr>
<td height=18>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
07-09-03 조회 1,652
07-09-03 조회 1,332
07-09-03 조회 1,681
07-09-03 조회 1,634
07-09-03 조회 1,026
07-09-03 조회 1,681
07-09-03 조회 1,690
07-09-03 조회 2,087
07-09-03 조회 1,620
07-09-03 조회 1,072
07-09-03 조회 1,599
07-09-03 조회 1,621
07-09-03 조회 2,107
07-09-03 조회 1,666
07-09-03 조회 1,599
07-09-03 조회 1,060
07-09-03 조회 1,068
07-09-03 조회 811
07-09-03 조회 2,287
07-09-03 조회 1,433