최신글 줄간격(행간) 줄이는 방법 궁금합니다. 정보
최신글 줄간격(행간) 줄이는 방법 궁금합니다.본문
제로보드에서 그누로 바꾸면서 메인에 나오는 최신글이 행간이 넓어지면서 배경이 밀리네요.
이리저리 검색해서 height=0 으로 바꿔봐도 고대로네요.
소스 올립니다. 답변 부탁드려요~ ^^
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0>
<!-- 최신글 제목 -->
<tr>
<td align="center">
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5"></td>
<td height="23"><img src="<?=$latest_skin_path?>/img/notice.jpg"><!--<img src="<?=$latest_skin_path?>/img/board_icon1.gif"><strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font color=#1749ba><?=$board[bo_subject]?></fpnt></a></strong>--></td>
<td align="right"><!--<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'>--> <a href="http://www.marinapension.com/comm/04.html"><img src="<?=$latest_skin_path?>/img/more_img.gif" border=0></a></td>
<td width="5"></td>
</tr>
<tr>
<td colspan=4 height="0" ></td>
</tr>
</table>
</td>
</tr>
<!-- 최신글 목록 -->
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td align=center>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height=25> <img src='<?=$latest_skin_path?>/img/board_icon.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
// 새창 띄우기 추가.
echo "<a href='#' onclick=\"javascript:window.open('{$latest_skin_path}/notice_new.php?bo_table={$bo_table}&wr_id={$list[$i][wr_id]}', '', 'left=200, top=100, width=450, height=400, scrollbars=1');\">";
if ($list[$i]['is_notice'])
echo "<font style='font-size:8pt; color:#889396;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-size:8pt; color:#889396;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-size:8pt; color:#889396;'>{$list[$i]['comment_cnt']}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i]['icon_new'];
// echo " " . $list[$i]['icon_file'];
// echo " " . $list[$i]['icon_link'];
// echo " " . $list[$i]['icon_hot'];
// echo " " . $list[$i]['icon_secret'];
?></td></tr>
<!-- <tr><td height=0></td></tr>-->
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td align=center height=50><font color=#889396>게시물이 없습니다.</a></td></tr><? } ?>
</table>
이리저리 검색해서 height=0 으로 바꿔봐도 고대로네요.
소스 올립니다. 답변 부탁드려요~ ^^
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0>
<!-- 최신글 제목 -->
<tr>
<td align="center">
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5"></td>
<td height="23"><img src="<?=$latest_skin_path?>/img/notice.jpg"><!--<img src="<?=$latest_skin_path?>/img/board_icon1.gif"><strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font color=#1749ba><?=$board[bo_subject]?></fpnt></a></strong>--></td>
<td align="right"><!--<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'>--> <a href="http://www.marinapension.com/comm/04.html"><img src="<?=$latest_skin_path?>/img/more_img.gif" border=0></a></td>
<td width="5"></td>
</tr>
<tr>
<td colspan=4 height="0" ></td>
</tr>
</table>
</td>
</tr>
<!-- 최신글 목록 -->
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td align=center>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height=25> <img src='<?=$latest_skin_path?>/img/board_icon.gif' align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
// 새창 띄우기 추가.
echo "<a href='#' onclick=\"javascript:window.open('{$latest_skin_path}/notice_new.php?bo_table={$bo_table}&wr_id={$list[$i][wr_id]}', '', 'left=200, top=100, width=450, height=400, scrollbars=1');\">";
if ($list[$i]['is_notice'])
echo "<font style='font-size:8pt; color:#889396;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-size:8pt; color:#889396;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-size:8pt; color:#889396;'>{$list[$i]['comment_cnt']}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i]['icon_new'];
// echo " " . $list[$i]['icon_file'];
// echo " " . $list[$i]['icon_link'];
// echo " " . $list[$i]['icon_hot'];
// echo " " . $list[$i]['icon_secret'];
?></td></tr>
<!-- <tr><td height=0></td></tr>-->
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td align=center height=50><font color=#889396>게시물이 없습니다.</a></td></tr><? } ?>
</table>
댓글 전체
<td height=25> <img src='<?=$latest_skin_path?>/img/board_icon.gif' align=absmiddle>
위 영역의 숫자 조절하고 오른쪽 이미지 영역 삭제 해 보세요.(이미지 높이로 인해 줄어들지 않을 수 있으니.)
위 영역의 숫자 조절하고 오른쪽 이미지 영역 삭제 해 보세요.(이미지 높이로 인해 줄어들지 않을 수 있으니.)
감사합니다.
해결 되었어요~ 복 받으세요 ^^
해결 되었어요~ 복 받으세요 ^^