최근 게시물 밑둘 없애는 법 좀 정보
최근 게시물 밑둘 없애는 법 좀본문
고수님들, 안녕하세요^
다름 아니라 최근 게시물에 밑줄이 생기는데,
밑줄 없앨려면 어떻게 해야 하는지 고수님들의 가르침을 받고 싶습니다.
해당 소스는 아래와 같습니다.
그럼 좋은 행운이 함께 하기를 바라면서,
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="word-wrap:break-word;table-layout:fixed; word-break:break-all;"><tr>
<td>
<span style="font-size:13pt; color:#444444;">VG</span> <span style="font-size:13pt; color:#56c429;"><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><?=$board[bo_subject]?></a>
<a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><img src="<?=$latest_skin_path?>/img/latest_t02.gif" border="0"></a></span>
</td>
</tr>
<tr height="1px">
<td>
<div width="100%">
<div style="width:20%; height:3px; background-color:#58C429; float:left; font-size:1px;"></div><div style="font-size:1px; width:80%; height:3px; background-color:#868686; float:left;"></div>
</div>
</td>
</tr>
<tr height="5px">
<td>
</td>
</tr>
<tr>
<td>
<? for ($i=0; $i<count($list); $i++) { ?>
<div style="clear:both; height:16px;">
<div style="float:left; width:20px;"><?=$i+1?></div>
<div style="float:left;">
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?>
</div>
</div>
<? } ?>
</td>
</tr>
</table>
다름 아니라 최근 게시물에 밑줄이 생기는데,
밑줄 없앨려면 어떻게 해야 하는지 고수님들의 가르침을 받고 싶습니다.
해당 소스는 아래와 같습니다.
그럼 좋은 행운이 함께 하기를 바라면서,
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="word-wrap:break-word;table-layout:fixed; word-break:break-all;"><tr>
<td>
<span style="font-size:13pt; color:#444444;">VG</span> <span style="font-size:13pt; color:#56c429;"><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><?=$board[bo_subject]?></a>
<a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><img src="<?=$latest_skin_path?>/img/latest_t02.gif" border="0"></a></span>
</td>
</tr>
<tr height="1px">
<td>
<div width="100%">
<div style="width:20%; height:3px; background-color:#58C429; float:left; font-size:1px;"></div><div style="font-size:1px; width:80%; height:3px; background-color:#868686; float:left;"></div>
</div>
</td>
</tr>
<tr height="5px">
<td>
</td>
</tr>
<tr>
<td>
<? for ($i=0; $i<count($list); $i++) { ?>
<div style="clear:both; height:16px;">
<div style="float:left; width:20px;"><?=$i+1?></div>
<div style="float:left;">
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?>
</div>
</div>
<? } ?>
</td>
</tr>
</table>
댓글 전체
echo "<a href='{$list[$i]['href']}'>";
을
echo "<a href='{$list[$i]['href']}' style='text-decoration:none;'>";
요렇게 수정해보세요
을
echo "<a href='{$list[$i]['href']}' style='text-decoration:none;'>";
요렇게 수정해보세요
감사합니다. 덕분에 쉽게 문제가 해결되었습니다. 늘 좋은 행운이 함께 하기를 바랍니다.
전체 적용 방법: 해당 스킨에 스타일 시트 적용해 보세요
<style type=text/css>
A:unknown {text-decoration:none}
A:link {font: 10pt 굴림; color: blue;text-decoration: none}
A:visited {font: 10pt 굴림; color: black;text-decoration: none}
A:active {font: 10pt 굴림; ~ 생략 text-decoration: none}
A:hover {font-weight: bold; ~ 생략 text-decoration: none}
</style>
<style type=text/css>
A:unknown {text-decoration:none}
A:link {font: 10pt 굴림; color: blue;text-decoration: none}
A:visited {font: 10pt 굴림; color: black;text-decoration: none}
A:active {font: 10pt 굴림; ~ 생략 text-decoration: none}
A:hover {font-weight: bold; ~ 생략 text-decoration: none}
</style>
감사합니다. 늘 좋은 행운이 함께 하기를 바랍니다.