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

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,431
13년 전 조회 1,514
13년 전 조회 1,689
13년 전 조회 1,554
13년 전 조회 1,927
13년 전 조회 1,526
13년 전 조회 1,267
13년 전 조회 1,749
13년 전 조회 968
13년 전 조회 1,515
13년 전 조회 1,534
13년 전 조회 2,191
13년 전 조회 1,458
13년 전 조회 2,501
13년 전 조회 1,559
13년 전 조회 2,228
13년 전 조회 1,291
13년 전 조회 3,321
13년 전 조회 1,540
13년 전 조회 1,582
🐛 버그신고