최근 게시물 스킨 적용에서. 오밀조밀하게 만들기?? 정보
최근 게시물 스킨 적용에서. 오밀조밀하게 만들기??본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://gngcontactlens.com/gn4/
아무리 해도 최근 게시물 뿌려지는 모습에서. 줄간격이 줄여지지를 않네요.
화면 구조상 줄이 간격이 너무 벌어지는 거 같아 나열되는 줄간격을 줄이고 싶은디...
줄간격이 줄어져야 좀 오밀조밀해 보일텐데...
어디를 조절해야 줄이 줄어들지..원..
화면 에서.
메인에 들어 있는 게스트 보드 최근 게시물 보여주기 입니다.
소스는 이겁니당.
그냥 베이직을 살짝 변형했어영
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=346 cellpadding=0 cellspacing=0 background="<?=$latest_skin_path?>/img/bg_bg.gif">
<tr>
<td width=28 valign="top"><img src='<?=$latest_skin_path?>/img/latest_t01.gif'></td>
<td width='277' background='<?=$latest_skin_path?>/img/bg_latest.gif'> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
<td width=26 background='<?=$latest_skin_path?>/img/bg_latest.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font size="1">more</font></a></td>
<td valign="top"><img src='<?=$latest_skin_path?>/img/latest_t02.gif'></td>
</tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td height="6" colspan=4 align=center> <table width=95%>
<tr>
<td height=6><div style="width:320px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;"><img src='<?=$latest_skin_path?>/img/latest_icon.gif' width="4" height="7" align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:8pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:8pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$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'];
?>
</div></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
오류 주소 : http://gngcontactlens.com/gn4/
아무리 해도 최근 게시물 뿌려지는 모습에서. 줄간격이 줄여지지를 않네요.
화면 구조상 줄이 간격이 너무 벌어지는 거 같아 나열되는 줄간격을 줄이고 싶은디...
줄간격이 줄어져야 좀 오밀조밀해 보일텐데...
어디를 조절해야 줄이 줄어들지..원..
화면 에서.
메인에 들어 있는 게스트 보드 최근 게시물 보여주기 입니다.
소스는 이겁니당.
그냥 베이직을 살짝 변형했어영
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=346 cellpadding=0 cellspacing=0 background="<?=$latest_skin_path?>/img/bg_bg.gif">
<tr>
<td width=28 valign="top"><img src='<?=$latest_skin_path?>/img/latest_t01.gif'></td>
<td width='277' background='<?=$latest_skin_path?>/img/bg_latest.gif'> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
<td width=26 background='<?=$latest_skin_path?>/img/bg_latest.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><font size="1">more</font></a></td>
<td valign="top"><img src='<?=$latest_skin_path?>/img/latest_t02.gif'></td>
</tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td height="6" colspan=4 align=center> <table width=95%>
<tr>
<td height=6><div style="width:320px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;"><img src='<?=$latest_skin_path?>/img/latest_icon.gif' width="4" height="7" align=absmiddle>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:8pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:8pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$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'];
?>
</div></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
댓글 전체

이 소스에서는 줄간격이 없구요, 기본 셋팅에 따르는 것입니다.
혹시 CSS가 이 스킨의 위쪽에 있다면 거기서 조정해 보시구요,
없다면 CSS 스타일을 만들어서 붙이셔야 합니다.
공부가 필요하다면 "CSS 줄간격"으로 검색하시면 (포털에서) 되겠습니다.
예를들자면,
<style type="text/css">
<!--
table {font-height:크기;}
}
-->
</style>
이런 식으로...
혹시 CSS가 이 스킨의 위쪽에 있다면 거기서 조정해 보시구요,
없다면 CSS 스타일을 만들어서 붙이셔야 합니다.
공부가 필요하다면 "CSS 줄간격"으로 검색하시면 (포털에서) 되겠습니다.
예를들자면,
<style type="text/css">
<!--
table {font-height:크기;}
}
-->
</style>
이런 식으로...
아넹 감사 한번 시도해 보지요.