최신글 아이콘 테두리 없애는 방법좀 알려주세요 정보
최신글 아이콘 테두리 없애는 방법좀 알려주세요
본문
기존에는 border=0값으로 해결했는데,,
이번 최신글 소스에는 그림 파일이 직접 나오지 않은 것 같아요.
밑에 소스를 남깁니다. new아이콘 테두리 없애는 방법좀 알려주세요..
소스는....
<style>
.lb01 {color:#7e7e7e;font-size:11;font-family:Dotum;line-height:140%;}
.lb01:link {color:#7e7e7e;font-size:11;font-family:Dotum;text-decoration:none;}
.lb01:visited {color:#7e7e7e;font-size:11;font-family:Dotum;text-decoration:none;}
.lb01:active {color:#7e7e7e;font-size:11;font-family:Dotum;text-decoration:none;}
.lb01:hover {color:#999999;font-size:11;font-family:Dotum;text-decoration:underline;font-weight:none}
</style>
<table width='<?=$latest_table?>' cellpadding='0' cellspacing='0' border='0' align='center'>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td width='10' height='18' style='padding-left:5px;'><img src='<?=$latest_skin_path?>/img/latest_icon.gif' width='9' height='9' border='0'></td>
<td width='<?=$latest_table-90?>' valign='bottom' >
<?
if ($list[$i][icon_new])
$style = "class='lb02'";
$subject = "<span class='lb01'>".$list[$i][subject]."</span>"; //제목 글자수 자르기
echo $list[$i][icon_reply] . " ";
echo "<a href='{$list[$i][href]}' title='{$list[$i][subject]}' class=lb01>{$subject}";
if ($list[$i][comment_cnt])
echo " <span class='lb01'>{$list[$i]['comment_cnt']}</span>";
echo " " . $list[$i]['icon_new'];
echo "</a>";
?>
</td>
<td width='70' align='center' class='lb01' valign='bottom'><span style='font-size:8pt; color:#999999;'><?=$list[$i][datetime]?></span>
</td>
</tr>
<tr>
<td height='1' colspan='3' background='<?=$latest_skin_path?>/img/line'></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=3 align=center height=100><font color=#6A6A6A>게시물이 없습니다.</font></td></tr><? } ?>
</table>
이번 최신글 소스에는 그림 파일이 직접 나오지 않은 것 같아요.
밑에 소스를 남깁니다. new아이콘 테두리 없애는 방법좀 알려주세요..
소스는....
<style>
.lb01 {color:#7e7e7e;font-size:11;font-family:Dotum;line-height:140%;}
.lb01:link {color:#7e7e7e;font-size:11;font-family:Dotum;text-decoration:none;}
.lb01:visited {color:#7e7e7e;font-size:11;font-family:Dotum;text-decoration:none;}
.lb01:active {color:#7e7e7e;font-size:11;font-family:Dotum;text-decoration:none;}
.lb01:hover {color:#999999;font-size:11;font-family:Dotum;text-decoration:underline;font-weight:none}
</style>
<table width='<?=$latest_table?>' cellpadding='0' cellspacing='0' border='0' align='center'>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td width='10' height='18' style='padding-left:5px;'><img src='<?=$latest_skin_path?>/img/latest_icon.gif' width='9' height='9' border='0'></td>
<td width='<?=$latest_table-90?>' valign='bottom' >
<?
if ($list[$i][icon_new])
$style = "class='lb02'";
$subject = "<span class='lb01'>".$list[$i][subject]."</span>"; //제목 글자수 자르기
echo $list[$i][icon_reply] . " ";
echo "<a href='{$list[$i][href]}' title='{$list[$i][subject]}' class=lb01>{$subject}";
if ($list[$i][comment_cnt])
echo " <span class='lb01'>{$list[$i]['comment_cnt']}</span>";
echo " " . $list[$i]['icon_new'];
echo "</a>";
?>
</td>
<td width='70' align='center' class='lb01' valign='bottom'><span style='font-size:8pt; color:#999999;'><?=$list[$i][datetime]?></span>
</td>
</tr>
<tr>
<td height='1' colspan='3' background='<?=$latest_skin_path?>/img/line'></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=3 align=center height=100><font color=#6A6A6A>게시물이 없습니다.</font></td></tr><? } ?>
</table>
댓글 전체
echo " " . $list[$i]['icon_new'];
echo "</a>";
순서를 바꾸어 보시죠.
echo "</a>";
echo " ".$list[$i]['icon_new'];
echo "</a>";
순서를 바꾸어 보시죠.
echo "</a>";
echo " ".$list[$i]['icon_new'];
아.. 이렇게 하는 거였군요..^^ 감사합니다. 덕분에 깔끔하게 나옵니다^^