최신글에서 글자 간격이 그림처럼 너무넓게 떨어지는 이유는.. 정보
그누보드 최신글에서 글자 간격이 그림처럼 너무넓게 떨어지는 이유는..본문
댓글 전체
아 칠쟁이님 잘못봤어용.. 잘모르겠는데요..
ㅎㅎ
수고하세요..
ㅎㅎ
수고하세요..
<?
$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<--요놈은 어찌 먹이나요?
$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먹여보지요
그러면 소스를 보여줄수는 있으시나요?
답변 감사합니다.
안먹히네요^^
안먹히네요^^
td 소스 알아냈습니다;;
<td style="word-break:break-all;"></td>
이겁니다^^; 이것도 안된다면 코멘트 달아주세요
<td style="word-break:break-all;"></td>
이겁니다^^; 이것도 안된다면 코멘트 달아주세요
스타일안이나 td 소스에 word-break 이 있어야 하는데요. 저도 자세한 코드는 모르지만 하여튼 그게 문제랍니다