최신겔러리 이미지간격요

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
최신겔러리 이미지간격요

QA

최신겔러리 이미지간격요

답변 2

본문

이미지와 이미지 사이에 간결을 주려고 하는데 스타일로 줘도 간격이 안생기네요.
어떻게 방법없을까요?
=======================================
<?
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

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
  • 질문이 없습니다.
전체 0
© SIRSOFT
현재 페이지 제일 처음으로