최신글 뿌려주는<?=latest 와 관련하여 문제가 발생했습니다 ㅠㅠ 채택완료

11년 전 조회 3,762

최신글을 다음과 같이 코딩하였으며,

 

basic 을 수정하였거든요~ ^^ ;;

 

<?=latest("basic","webzine_1",3,100); ?>

 

이렇게 올렸습니다만

 

 

Copy
<??><div style='height:40px;'>&nbsp;</div><table width="100%" cellpadding=0 cellspacing=0 border="0"><tr>    <td width=14></td>    <td width="100%"><strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font style='font-size:12pt; color:#c17d00;'>[리샘컬럼]</font></a></strong></td></tr></table><table border=0 cellpadding=0 cellspacing=0><?for ($i=0; $i<$rows; $i++)  { ?><tr><?$tmp_table = $bo_table; if (!$bo_table)     $tmp_table = $list[$i]['bo_table']; $list[$i]['subject'] = ($list[$i]['subject']); $list[$i]['href'] = "{$g4['bbs_path']}/board.php?bo_table={$tmp_table}&wr_id={$list[$i]['wr_id']}";?> <? if ($img) { ?>    <td align="center" class="file"><div class="post-img"><a href="<?=$list[$i][href]?>"><img src="<?=$img?>" class="file-img"></a></div></td></tr> <tr><td>     <div class="post-subject"> <a href="<?=$list[$i][href]?>"><span style="font-size:12px; font-weight:bold;"><?=$list[$i][subject]?></span></a> </div>     <div style="color:#333333; ><a href="<?=$list[$i][href]?>"> <span style="color:#747172; font-size:12px; word-break:break-all;"><?=cut_str(strip_tags($list[$i][wr_content]),120,"...")?> </span></a></div> </td>    <? } else { ?> <td rowspan="2" height="67" align="left">    <div class="post-subject2" style="margin:0px 0px 5px 0px;"><a href="<?=$list[$i][href]?>"> <span style="font-size:14px; font-weight:bold; color:#ff0066"><?=cut_str(strip_tags($list[$i][subject]),60,"...")?></span></a></div>    <div style="width:220px; color:#333333; height:30px;"> <a href="<?=$list[$i][href]?>"><span style="color:#747172; font-size:12px; word-break:break-all;"> <?=cut_str(strip_tags($list[$i][wr_content]),280,"...")?></span>  <div align="right" style="margin:5px 0px 0px 0px;"><img src="../imgs/main_bottom_01.gif"></div> </a></div> </td>    <? } ?></tr><? } ?></table></div>​

 

 

2942d872d7cddd37543aee806883fd8a_1420708535_2361.PNG

 

이렇게.. 아작 나서 올라가 버리는 야속한 녀석이 되어 버렸어요 ㅠㅠ

 

일반 table안에 td 태그에 width 까지 지정해서 안에다가..

<?=latest("basic","webzine_1",3,100); ?>

이렇게 넣었는데.. 왜 저렇게 나올까요 ㅠㅠ

 

혹시  어느 파일을 손봐야 하나요~?

<?=latest 이 구문을 출력하는 명령문을 고쳐야 할까요..?

기존에 있던 skin 수정해보았는데 ㅠ

왜 이렇게 출력 되는지.. 으으 ㅠ

 

고수님들의 도움을 요청해봅니다 !! 

답변 1개

채택된 답변
+20 포인트
높이값을 손보신건 아니신지...

저도 잘 모르다보니 혹시 높이 67픽셀 이부분이 어느부분 인가요
로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

이거였군요 !!!
width, height 값이 가장 기본인걸 ㅋㅋ 정말 감사합니다 ㅋ

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인
🐛 버그신고