b

최신글 또 질문이..;;

아래부터 쭉 최신글 질문 드리는데요.
첫번째 글은 내용나오게 했는데 그 내용이 안에 내용이 길면 너무 많이 내려가더라구요.
근데 저는 내용을 자르고 싶지는 않고 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>   <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>     <?=$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
링크겁니다.
|

댓글 2개

답변 감사드립니다.(__)
<marquee direction=up scrollamount=1> 에서 아래 처럼 수정해
주시면 조절이 가능 하답니다.

<marquee direction=up scrollamount=1 height=80 width=153>
댓글을 작성하시려면 로그인이 필요합니다.

그누3질답

+
제목 글쓴이 날짜 조회
22년 전 조회 317
22년 전 조회 338
22년 전 조회 370
22년 전 조회 450
22년 전 조회 461
22년 전 조회 382
22년 전 조회 321
22년 전 조회 734
22년 전 조회 305
22년 전 조회 318
22년 전 조회 342
22년 전 조회 313
22년 전 조회 300
22년 전 조회 503
22년 전 조회 411
MMando
22년 전 조회 513
22년 전 조회 939
22년 전 조회 391
22년 전 조회 378
22년 전 조회 349
🐛 버그신고