최신글 또 질문이..;; > 그누3질답

그누3질답

최신글 또 질문이..;; 정보

그누보드 최신글 또 질문이..;;

본문

아래부터 쭉 최신글 질문 드리는데요.
첫번째 글은 내용나오게 했는데 그 내용이 안에 내용이 길면 너무 많이 내려가더라구요.
근데 저는 내용을 자르고 싶지는 않고 100픽셀정도의 높이내에서 마퀴가 올라가도록 하고 싶은데
높이가 줄어들지가 않네요.
테이블마다 해봐도 줄어들지가 않는데 어디를 고쳐야 하는지 잘 모르겠습니다.
아래는 소스입니다.좀 봐주세요.
------
<table width=153 cellpadding=0 cellspacing=0>


<? for ($i=0; $i<count($list); $i++) { ?>
<? if ($i==0){?>
<tr height=22>
<td><?=$list[$i][icon_new]?><?=$list[$i][subject]?><?=$list[$i][commentcnt]?></td>
<td width=70 align=center></td>
</tr>
</table>
<table width=153 height=80 cellpadding=0 cellspacing=0>
<tr>
<td>&nbsp;&nbsp;&nbsp;<marquee direction=up scrollamount=1><?=nl2br(stripslashes($list[$i][content]))?></marquee></td>

</tr>
</table>
<!-- 경계선 -->
<table width=153><tr height=1><td background='./<?=$cfg[bbs_dir]?>/line.gif'></td></tr></table>

<? }else{?>
<table width=153 cellpadding=0 cellspacing=0>
<tr height=22>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?=$list[$i][icon_new]?>
<a href="#" onClick="window.open('<?="./?doc=$cfg[bbs_dir]/gbview2.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>', '', 'left=150, top=10, width=450, height=400, scrollbars=1');"><?=$list[$i][subject]?></a>
<?=$list[$i][commentcnt]?></td>
<tr><td colspan=8 height=1 background='./<?=$cfg[bbs_dir]?>/line.gif'></td></tr>
<td width=70 align=center></td>
</tr>
<? } ?>
<? } ?>

<? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=50>자료가 없습니다.</td></tr>"; } ?>
</table>
------
http://happytopi.com/cgi-bin/gnu3/?doc=ver1.php
링크겁니다.
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로