최신글 링크 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>태그 전부 삭제
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT