최신글 링크 CSS 설정 문의 > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

최신글 링크 CSS 설정 문의 정보

최신글 링크 CSS 설정 문의

본문

아래와 같이 기본 최신글 스킨을 수정해서 쓸려고 하는데요.
링크부분에 7c7c7c 이 색이 나오고 오버했을때만 3c3c3c 이 색이 나오면 되는데 잘 않되요.

고수님들 부탁드립니다.


<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style type="text/css">
.main_right_01_title {
font-family: "굴림";
color: #7c7c7c;
font-size: 12px;
}
.main_right_01_title a: {color:#7c7c7c; text-decoration:none;}
.main_right_01_title a:link {color:#7c7c7c; text-decoration:none;}
.main_right_01_title a:visited {color:#7c7c7c; text-decoration:none;}
.main_right_01_title a:active {color:#7c7c7c; text-decoration:none;}
.main_right_01_title a:hover {color:3c3c3c; text-decoration:underline;}
</style>

<table width=100% border="0" cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center><table width=100% border="0" cellpadding="0" cellspacing="0">
<tr>
<td height=19 valign="middle"><span class='main_right_01_title'>▶</span><?
// echo $list[$i]['icon_reply'] . " ";
echo "<span class='main_right_01_title'><a href='{$list[$i]['href']}'></span>";
if ($list[$i]['is_notice'])
echo "<span class='main_right_01_title'><strong>{$list[$i]['subject']}</strong></span>";
else
echo "<span class='main_right_01_title'>{$list[$i]['subject']}</span>";
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'];
?></td>
</tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?>
<tr>
<td height=50 colspan=4 align=center class="main_right_01_title">게시물이 없습니다.</a></td>
</tr>
<? } ?>
</table>

  • 복사

댓글 전체

음..저도 span 태그로 해봤는대 안되서
아래와 같이 바꿔서 하고 있습니다.
잘되었으면 좋겠네요

<table width=100% border="0" cellpadding=0 cellspacing=0> 를 아래와 같이
<table width=100% border="0" cellpadding=0 cellspacing=0 id="main_right_01_title">

<span>태그 전부 삭제
© SIRSOFT
현재 페이지 제일 처음으로