독

최신글 간격 조절 수정좀 알려주세요.

88.gif
이미지상에 배너와배너사이 늘리려면 어떻게 수정해야 하나요.
아래 소스중 어디를 어덯게 수정해야 할지좀 자세히좀 알려주시면 감사"감사하겠습니다.
-----------아래----------

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="3" background="<?=$latest_skin_path?>/"></td>
<td background="<?=$latest_skin_path?>/">
<!--타이틀 시작:타이틀 끝-->
</td>
<td width="3" background="<?=$latest_skin_path?>/"></td>
</tr>
<tr>
<td width="3" background="<?=$latest_skin_path?>/"></td>
<td align="center">

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

<? // View
$table = "01_1";
$wr_id = $list[$i]['wr_id'];
$href = "$g4[bbs_path]/link.php?bo_table={$table}&wr_id=$wr_id&no=1";
sql_query(" update {$g4[write_prefix]}{$table} set wr_3 = wr_3 + 1 where wr_id = '$wr_id' ");
echo "<a href='$href' target='_blank'>";
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) { ?>
<img src='<?=$g4[path]?>/data/file/<?=$bo_table?>/<?=$image?>' width='90' height='30' border='0'></a>
<? } else { ?>
<img src='<?=$latest_skin_path?>/img/noimage.gif' width='90' height='30' border='0'></a>
<? } ?>

<? } ?>

</td>
<td width="3" background="<?=$latest_skin_path?>/"></td>
</tr>
<tr height="0">
<td width="3" background="<?=$latest_skin_path?>/"></td>
<td background="<?=$latest_skin_path?>/"></td>
<td width="3" background="<?=$latest_skin_path?>/"></td>
</tr>
</table>

첨부파일

88.gif (10.4 KB)
0회 2010-04-17 18:25

댓글 4개

<img style="padding-left:1em;" src='<?=$g4[path]?>/data/file/<?=$bo_table?>/<?=$image?>' width='90' height='30' border='0'></a>
<? } else { ?>
<img style="padding-left:1em;" src='<?=$latest_skin_path?>/img/noimage.gif' width='90' height='30' border='0'></a>
cellpadding="0" cellspacing="0" 여기에 0대신 1부터 다양한 수치를 넣으세요
그럼 간격이 늘어날거에요
엑스엘님..귀여운현호님..답변감사합니다.
알려주신 답변대로 수정해봤는데 안되네요.
타이틀 주석 밑에도
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0">
있지 않아나요
그부분에 cellpadding="0" cellspacing="0" 요기를 수치를 조절하시면 될듯 합니다.
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
10-04-18 조회 1,024
10-04-17 조회 1,274
10-04-17 조회 1,671
10-04-17 조회 1,107
10-04-17 조회 1,633
10-04-17 조회 1,138
10-04-17 조회 1,401
10-04-17 조회 1,900
10-04-17 조회 1,687
10-04-17 조회 1,667
10-04-17 조회 1,517
10-04-17 조회 1,642
10-04-17 조회 1,647
10-04-17 조회 1,626
10-04-17 조회 2,367
10-04-17 조회 1,223
10-04-17 조회 1,078
10-04-17 조회 1,063
10-04-17 조회 1,743
10-04-17 조회 1,639