이미지 링크시 선색깔을 없애고 싶은데요... 정보
이미지 링크시 선색깔을 없애고 싶은데요...
관련링크
본문
http://cgchurch.or.kr/menu2_3.php
여기에 보시면 이미지가 링크되어 있는데요..
이미지에 링크 테두리선이 보이네요..
테두리선을 없애고 싶은데 아래 소스에 border=0을 넣을곳이 없어서요..
어떻게 하면 될까요??
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
list($height, $row_cnt, $cut_len) = explode(",", $options);
$all_cnt = 0;
?>
<style type="text/css">
<!--
.latest {
font-size:11px;
font-family:dotum, '돋움', tahoma;
letter-spacing:-0.05em;
color:#363739;
}
-->
</style>
<table width='90%'>
<? for ($k=0; $k<$row_cnt; $k++ ) { ?>
<tr style="height:75px;">
<?
for ($i=0; $i<count($list)/$row_cnt; $i++)
{
if ($i > 0)
echo '<td> </td>';
$title = get_text($list[$all_cnt][wr_subject]);
$content = cut_str(get_text($list[$all_cnt][wr_content]), 80);
$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$all_cnt][file][0][file]);
//$img = "$g4[path]/data/file/$bo_table/thumb/img_".urlencode($list[$all_cnt][wr_id]).".thumb";
if (!file_exists($img) || !$list[$all_cnt][file][0][file])
$img = "$latest_skin_path/img/no_image.gif";
$href = "$g4[bbs_path]/board.php?bo_table=$bo_table";
$stitle = cut_str($list[$all_cnt][subject],$cut_len,"");
echo "
<td valign='top'>
<div style='width:".$subject_len."px; height:".$height."px; border:0px solid #CCCCCC; padding:0px; margin-bottom:3px;'>
<a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$all_cnt][wr_id]}'><img src='{$img}' width='$subject_len' height='$height' title='$title' alt='' /></a></div>
<div class='latest'><a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$all_cnt][wr_id]}'>{$stitle} <span style='font-size:0.84em;'>{$list[$all_cnt]['comment_cnt']}</span></a>
</div>
</td>
";
$all_cnt++;
}
?>
</tr>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td colspan=2 height=25>게시물이 없습니다.</td></tr>
<? } ?>
</table>
여기에 보시면 이미지가 링크되어 있는데요..
이미지에 링크 테두리선이 보이네요..
테두리선을 없애고 싶은데 아래 소스에 border=0을 넣을곳이 없어서요..
어떻게 하면 될까요??
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
list($height, $row_cnt, $cut_len) = explode(",", $options);
$all_cnt = 0;
?>
<style type="text/css">
<!--
.latest {
font-size:11px;
font-family:dotum, '돋움', tahoma;
letter-spacing:-0.05em;
color:#363739;
}
-->
</style>
<table width='90%'>
<? for ($k=0; $k<$row_cnt; $k++ ) { ?>
<tr style="height:75px;">
<?
for ($i=0; $i<count($list)/$row_cnt; $i++)
{
if ($i > 0)
echo '<td> </td>';
$title = get_text($list[$all_cnt][wr_subject]);
$content = cut_str(get_text($list[$all_cnt][wr_content]), 80);
$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$all_cnt][file][0][file]);
//$img = "$g4[path]/data/file/$bo_table/thumb/img_".urlencode($list[$all_cnt][wr_id]).".thumb";
if (!file_exists($img) || !$list[$all_cnt][file][0][file])
$img = "$latest_skin_path/img/no_image.gif";
$href = "$g4[bbs_path]/board.php?bo_table=$bo_table";
$stitle = cut_str($list[$all_cnt][subject],$cut_len,"");
echo "
<td valign='top'>
<div style='width:".$subject_len."px; height:".$height."px; border:0px solid #CCCCCC; padding:0px; margin-bottom:3px;'>
<a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$all_cnt][wr_id]}'><img src='{$img}' width='$subject_len' height='$height' title='$title' alt='' /></a></div>
<div class='latest'><a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$all_cnt][wr_id]}'>{$stitle} <span style='font-size:0.84em;'>{$list[$all_cnt]['comment_cnt']}</span></a>
</div>
</td>
";
$all_cnt++;
}
?>
</tr>
<? } ?>
<? if (count($list) == 0) { ?>
<tr><td colspan=2 height=25>게시물이 없습니다.</td></tr>
<? } ?>
</table>
댓글 전체
정상인데요.

<img src='{$img}' width='$subject_len' height='$height' title='$title' alt='' border='0'/></a>
border='0'을 추가하세요~
border='0'을 추가하세요~