index 최신글에 하이퍼링크 선? 지우는법... 정보
index 최신글에 하이퍼링크 선? 지우는법...본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
최신글 제목이랑 타이틀에 하이퍼링크 줄이...표시되거든요..
안보이게 할려면 어떻게 해야하나요..
최신글 latest.skin.php 소스첨부할께요..
<meta name="generator" content="Namo WebEditor(Trial)">
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t01.gif'></td>
<td width='100%' background='<?=$latest_skin_path?>/img/bg_latest.gif'> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
<td width=37 background='<?=$latest_skin_path?>/img/bg_latest.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0></a></td>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t02.gif'></td>
</tr>
</table>
<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width=95%>
<tr>
<td height=25><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<?
if(!$list[$i][comment_cnt]){
echo "<img src='$latest_skin_path/img/now1.gif'>";
}else{
echo "<img src='$latest_skin_path/img/now2.gif'>";
}
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_link'];
echo " " . $list[$i]['icon_hot'];
?></td></tr>
<tr><td bgcolor=#EBEBEB height=1></td></tr>
</table></td>
</tr>
<? } ?>
<td>
</td>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
오류 주소 :
최신글 제목이랑 타이틀에 하이퍼링크 줄이...표시되거든요..
안보이게 할려면 어떻게 해야하나요..
최신글 latest.skin.php 소스첨부할께요..
<meta name="generator" content="Namo WebEditor(Trial)">
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t01.gif'></td>
<td width='100%' background='<?=$latest_skin_path?>/img/bg_latest.gif'> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
<td width=37 background='<?=$latest_skin_path?>/img/bg_latest.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0></a></td>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t02.gif'></td>
</tr>
</table>
<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width=95%>
<tr>
<td height=25><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>
<?
if(!$list[$i][comment_cnt]){
echo "<img src='$latest_skin_path/img/now1.gif'>";
}else{
echo "<img src='$latest_skin_path/img/now2.gif'>";
}
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_link'];
echo " " . $list[$i]['icon_hot'];
?></td></tr>
<tr><td bgcolor=#EBEBEB height=1></td></tr>
</table></td>
</tr>
<? } ?>
<td>
</td>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
댓글 전체
이미지에 링크거시는거면 border값을 0으로하시면되구요
글씨에 링크거시는거면 css를 활용하시면되요~
{text-decoration:none;}
적용해보세요~
글씨에 링크거시는거면 css를 활용하시면되요~
{text-decoration:none;}
적용해보세요~
글씨거든요... 어느부분에 넣어야하나요...?
에고고;; 글씨 앞에 <td><a href="주소">내용</td>
이렇게되잇는곳에서요
<style>
.no-line {text-decoration:none;}
.no-line a:link {text-decoration:none;}
.no-line a:visited {text-decoration:none;}
.no-line a:active {text-decoration:none;}
.no-line a:hover {text-decoration:none;}
</style>
이렇게 먼저 스타일 지정해주시고
<td class="no-line"><a href="주소">내용</td>
이렇게하시면 됩니다.
링크가 잇던 없던 no-line이라는 클래스 명을 가진 td는 전부다
라인이 없게되는거죠
css공부먼저간단하게라도 해두심이 나중을위해 좋을듯싶어요~
이렇게되잇는곳에서요
<style>
.no-line {text-decoration:none;}
.no-line a:link {text-decoration:none;}
.no-line a:visited {text-decoration:none;}
.no-line a:active {text-decoration:none;}
.no-line a:hover {text-decoration:none;}
</style>
이렇게 먼저 스타일 지정해주시고
<td class="no-line"><a href="주소">내용</td>
이렇게하시면 됩니다.
링크가 잇던 없던 no-line이라는 클래스 명을 가진 td는 전부다
라인이 없게되는거죠
css공부먼저간단하게라도 해두심이 나중을위해 좋을듯싶어요~
답변감사합니다..위에 제가 올린소스인데..거기는 <td class="no-line"><a href="주소">내용</td> 넣을때가없는데..아고...지금 배우면서 하는거라...자꾸 질문드려서 죄송하네요.. 위소스어느부분에 어떻게 수정해서 넣어야할지......
그누폴더안에 style.css 파일에서용
넣을때가 없는게아니구요 음...
<td width='100%' background='<?=$latest_skin_path?>/img/bg_latest.gif'> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
이렇게되잇으시자나요 현재
<td width='100%' class="no-line" background='<?=$latest_skin_path?>/img/bg_latest.gif'> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
이렇게 td에다가 class를 주면된다는얘기에요~~
<td width='100%' background='<?=$latest_skin_path?>/img/bg_latest.gif'> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
이렇게되잇으시자나요 현재
<td width='100%' class="no-line" background='<?=$latest_skin_path?>/img/bg_latest.gif'> <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
이렇게 td에다가 class를 주면된다는얘기에요~~
링크를 주신 td에다가 class를 주라는 얘기인거죠~_~
<head>
<style type="text/css">
a { text-decoration:none }
</style>
</head>
이걸로 해결했습니다 암튼 감사합니다
<style type="text/css">
a { text-decoration:none }
</style>
</head>
이걸로 해결했습니다 암튼 감사합니다
허헝;;그렇게하시면 모든 a태그를 갖고잇는곳에 적용되는데;
문제없으시다면 다행이구요~
문제없으시다면 다행이구요~
아 그런가요.. 님이 알려주신방법하고 이런방법도 있다는걸 알았네요
감사합니다. 꾸벅
감사합니다. 꾸벅