고수님들 도와주세요 갤러리 목록출력 정렬 ㅠㅠ

Untitled-2.gif
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=47702&page=1&sca=&sfl=wr_subject%7C%7Cwr_content&stx=choi_gallery1&spt=0&page=1&cwin=#c_122456

여기 스킨을 아주 잘쓰고 있는데
목록을 좌측부터 일정한 간격으로 출력하고 싶은데 어캐해야 하나요?

현재 이미지가 아래와 같이 뿌려져서요.... 고수님들 도와주세요.

첨부파일

Untitled-2.gif (153.3 KB)
0회 2012-03-07 18:22
|

댓글 2개

<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<!-- 목록 -->
<? for ($i=0; $i<count($list); $i++) {

if(!$member[mb_id]) {
$list[$i][href] = "#";
}

$list_file = sql_fetch("select bf_file from $g4[board_file_table] where bo_table='$bo_table' and bf_no = '0' and wr_id='{$list[$i][wr_id]}'");
if($list_file[bf_file]) {
$list_file_view[$i] = "<img src='./../data/file/$bo_table/$list_file[bf_file]' style='cursor:pointer' border=0 width=$small_width height=$small_height onmouseover=\"document.getElementById('large').src='./../data/file/$bo_table/$list_file[bf_file]'; document.getElementById('view').href='{$list[$i][href]}'\">";
$list_lfile_view[$i] = "<a id=view href='#'><img id=large src='./../data/file/$bo_table/$list_file[bf_file]' border=0 width=$large_width height=$large_height></a>";
}else {
$list_file_view[$i] = "";
$list_lfile_view[$i] = "";
}
?>

<div style="float:left;margin:0px 3px 0px 3px;">
<table cellpadding="0" cellspacing="0" border=1 bordercolor="#E1E1E2"><tr><td><?=$list_file_view[$i]?></td></tr></table>
</div>
<?}?>
</td>
<? if (count($list) == 0) { echo "<td colspan='$colspan' height=50 align=center>게시물이 없습니다.</td>"; } ?>
</tr>
</table>
와~~~~~ 되요~~~ 해결했어요~~~ 너무너무 감사합니다~~~~^^
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
13년 전 조회 1,477
13년 전 조회 1,561
13년 전 조회 1,732
13년 전 조회 1,588
13년 전 조회 1,963
13년 전 조회 1,564
13년 전 조회 1,312
13년 전 조회 1,784
13년 전 조회 1,008
13년 전 조회 1,552
13년 전 조회 1,566
13년 전 조회 2,220
13년 전 조회 1,488
13년 전 조회 2,528
13년 전 조회 1,589
13년 전 조회 2,259
13년 전 조회 1,315
13년 전 조회 3,357
13년 전 조회 1,566
13년 전 조회 1,617