7

최신글에서 글자 간격이 그림처럼 너무넓게 떨어지는 이유는..

· 2005-01-17 (월) 13:31:15 · 584 · 7
11.jpg
뭔지를 모르겠네요?

첨부파일

11.jpg (6 KB)
2회 2005-01-17 13:31
|

댓글 7개

아 칠쟁이님 잘못봤어용.. 잘모르겠는데요..
ㅎㅎ
수고하세요..
<?

$image_height = 50; // 높이

$image_width = 60; // 너비

?>

<table width=100% cellpadding=0 cellspacing=1 border=0>

<? for ($i=0; $i<count($list); $i++) { ?>

<? if ($i==0){?>

<tr>

<td width="20%" rowspan=3 height="50" style="word-break:break-all;"><a href='<?="./?doc=bbs/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><img src='<?=$list[$i][file_image1]?>' width='<?=$image_width?>' height='<?=$image_height?>' border=3 style='border-color:EFEFEF;'></a></td>

<td width="789" height="20" valign=top>

<table width=100% height=20 cellpadding=0 cellspacing=0 border=0>

<tr><td height="20" style="word-break:break-all;"><span class=subject><a href='<?="./?doc=bbs/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><?//=$list[$i][subject]?><b><?=cut_str($list[$i][subject],17,"…");?></b></a></span> <?=$list[$i][icon_new]?></td>
</tr>
</table>
</td>
</tr>
<tr>

<td width="80%" height="30" valign="top" align="left"><p align=justify>

<a href='<?="./?doc=bbs/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><?=nl2br(stripslashes(cut_str($list[$i][wr_content], 35, '....' )))?></a></td>

</tr>

<!-- 경계선 -->

<tr bgcolor=F4F4F4 height=1><td colspan=2 width="982"></td></tr>

<? }else{?>

<!--<tr>

<td height="15" colspan=2 width="982"> <img src='<?=$latest_skin?>/icon_li.gif'>  <a href='<?="./?doc=bbs/gnuboard.php&bo_table=$bo_table&wr_id={$list[$i][wr_id]}"?>'><?=$list[$i][subject]?></a> <?=$list[$i][commentcnt]?> <?=$list[$i][icon_new]?></td>

</tr>-->

<? } ?>

<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=50>자료가 없습니다.</td></tr>"; } ?>

</table>

소스구요 vspace<--요놈은 어찌 먹이나요?
vspace먹여보지요
zzoony
2005-01-17 (월) 15:31:05
그러면 소스를 보여줄수는 있으시나요?
답변 감사합니다.
안먹히네요^^
zzoony
2005-01-17 (월) 14:37:02
td 소스 알아냈습니다;;
<td style="word-break:break-all;"></td>
이겁니다^^; 이것도 안된다면 코멘트 달아주세요
zzoony
2005-01-17 (월) 13:39:51
스타일안이나 td 소스에 word-break 이 있어야 하는데요. 저도 자세한 코드는 모르지만 하여튼 그게 문제랍니다
댓글을 작성하시려면 로그인이 필요합니다.

그누3질답

9,564건
+
제목 글쓴이 날짜 조회
05-01-18 조회 523
05-01-18 조회 793
04-12-23 조회 3,098
05-01-14 조회 1,958
05-01-18 조회 438
05-01-18 조회 485
05-01-18 조회 453
05-01-18 조회 520
05-01-18 조회 1,360
05-01-18 조회 482
05-01-18 조회 688
05-01-18 조회 779
05-01-17 조회 406
05-01-17 조회 638
05-01-17 조회 488
05-01-17 조회 1,143
05-01-17 조회 584
05-01-17 조회 380
05-01-17 조회 403
05-01-17 조회 585