최신겔러리 이미지간격요

최신겔러리 이미지간격요

QA

최신겔러리 이미지간격요

본문

이미지와 이미지 사이에 간결을 주려고 하는데 스타일로 줘도 간격이 안생기네요.
어떻게 방법없을까요?
=======================================
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$gr = get_group($gr_id);
$img_quality = 100; //썸네일 퀄리티
$data_path = $g4[path]."/data/file/$bo_table";
$thumb_path = $data_path.'/thumb_big4';
$ym = date("ym", $g4[server_time]);
@mkdir($thumb_path, 0707);
@chmod($thumb_path, 0707);
?>
<style type="text/css">
.img-wrap{
 margin-right: 6px;
 margin-left: 6px;
}
</style>
<table width="100%"  border="0" align="left" cellpadding="0" cellspacing="0">
 <? for ($i=0; $i<count($list); $i++) {?>
 <tr>
  <td>
  <table border="0" cellpadding=0 cellspacing=0>
    <tr>
     
  <?
for ($i=0; $i<count($list); $i++) {
$list[$i]['content']=eregi_replace(" "," ",$list[$i]['content']);
 
 if($list[$i][file][0][file]) {
  $file = "<img src='".$list[$i][file][0][path] .'/'. $list[$i][file][0][file]."'>";
 } else {
  $file="";
 }
?>
      <td class="img-wrap" align=center>
 <?
      for ($i=0; $i<count($list); $i++) {
   $file01 = "$data_path/".urlencode($list[$i][file][0][file]);
   $file02 = "$data_path/".urlencode($list[$i][file][1][file]);
   $link_01 = $list[$i][wr_link1];
  ?><a href="<?=$link_01?>"><img src="<?=$file01?>" alt="" border="0" onmouseover="this.src='<?=$file02?>';" onmouseout="this.src='<?=$file01?>';" /></a><? }?>
        </td>
      <? if($i!=count($list)-1) { ?>
     
      <? } ?>
  <? } ?>
      </tr>
   
  <? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=30><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
   
  </table>
</td> </tr>
  <? } ?>
  <? if (count($list) == 0) { ?><? } ?>
</table>

이 질문에 댓글 쓰기 :

답변 2

답변을 작성하시기 전에 로그인 해주세요.
전체 16
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT