블

최근게시물 썸네일 간격문제

· 2008-01-23 (수) 16:02:27 · 1579 · 2
111111.jpg
최근게시물 썸네일 간격을 설정하는 파일이 어느건가요 아무리찾아봐도 답을 찾을수가 없네요

소스가 밑에처럼 돼있는데 어느부분을 설정을 해야 하는지 잘모르겠네요

지금 최근게시물 설정했는데 썸네일 간격이 너무 벌어져서요..

그림처럼 가로길이를 좀길게 해놓으면 옆으로 너무 나가버리고 해서..

썸네일 가로길이를 좀 줄이면 사이간격이 너무 많이 벌어져서 더 옆으로 나가버리네요

아시는분 답변좀 부탁드립니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?><style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>

<table width='320' height="110" border='0' cellpadding='0' cellspacing='0' style="
border-collapse:collapse; border-top:3;
">
<tr>
<td>
<table width='320' height="110" border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='16'></td>
<td width='100%' height="20" align="left" valign="bottom" style="padding-top:5"> <a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><b></a></a></td>
<td align="right">
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'></a></td>
</tr>
<tr>
<td width='16'> </td>
<td colspan="2" width='100%'>

<table width=98% border=0>
<tr>

<?
for ($i=0; $i<count($list); $i++)
{
if ($i > 0)
echo '<td width=20> </td>';

$title = get_text($list[$i][wr_subject]);
$content = cut_str(get_text($list[$i][wr_content]), 80);
$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file]);
if (!file_exists($img) || !$list[$i][file][0][file])
$img = "$latest_skin_path/img/no_image.gif";
$href = "$g4[bbs_path]/board.php?bo_table=$bo_table";

echo <<<HEREDOC
<td width='120' valign='top' align='center'>
<table width='120' border='0' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td width='120' height='5' align='center'></td>
</tr>

<tr>
<td width='60' height='60' align='center'>
<div style='width:60px;height:60px;padding:3px' align='center'>
<a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}'><img src='{$img}' width='120' height='60' border='0' align='absmiddle' title='$title'></a>
</div>
</td>
</tr>

<tr>
<td width='120' height='5' align='center'></td>
</tr>

<tr>
<td width='120' height='20' align='center'><a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}'>{$list[$i][subject]}</a></td>
</tr>
</table>
</td>
HEREDOC;
}
?>

</tr>
</table>

<? if (count($list) == 0) { ?>게시물이 없습니다.<? } ?>

</td>
</tr>
</table>
</td>
</tr>
</table>

첨부파일

111111.jpg (56.1 KB)
0회 2008-01-23 16:02
|

댓글 2개

echo '<td width=20> </td>';

이부분을

//echo '<td width=20> </td>';

이렇게 해보세요...^^
위처럼 해도 안되네요 다른최근게시물스킨을 받아서 다시 해봐야 겟어요
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
08-01-23 조회 1,694
08-01-23 조회 1,571
08-01-23 조회 1,580
08-01-23 조회 1,576
08-01-23 조회 1,739
08-01-23 조회 1,969
08-01-23 조회 1,574
08-01-23 조회 1,608
08-01-23 조회 1,669
08-01-23 조회 1,597
08-01-23 조회 1,668
08-01-23 조회 1,643
08-01-23 조회 1,576
08-01-23 조회 1,579
08-01-23 조회 1,865
08-01-23 조회 1,908
08-01-23 조회 1,766
08-01-22 조회 1,602
08-01-22 조회 2,048
08-01-22 조회 1,621