스킨수정 해주실분... > 그누4 질문답변

그누4 질문답변

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

스킨수정 해주실분... 정보

스킨수정 해주실분...

본문

<?
if (!defined("_GNUBOARD_")) exit; // 
?>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<table width=100% cellpadding=0 cellspacing=0>
<colgroup width=14>
<colgroup>
<colgroup width=37>
<colgroup width=14>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
    <td colspan=4 align=center>
        <table border="0" width="99%" id="table1" cellspacing="1" cellpadding="2">
<tr>
<td width="1"><img src='<?=$latest_skin_path?>/img/<?=$i+1?>.gif' align=absmiddle></td>
<td width="1"></td>
<td>
            <?
            echo $list[$i]['icon_reply'] . " ";
            echo "<a href='{$list[$i]['href']}' target=_parent>";
            if ($list[$i]['is_notice'])
                echo "<font style='font-family:; font-size:10pt; '><strong>{$list[$i]['subject']}</strong></font>";
            else
                echo "<font style='font-family:; font-size:10pt; '>{$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'];
            ?></td>
</tr>
</table>
</td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>
아직없음.</a></td></tr><? } ?>

</table>



요기 링크에 마우스 가져다 대면 제목이 색상이(빨강색) 변하게 하고 싶어요..고수님들 도와주세요.
  • 복사

댓글 전체

제가 질문의 요점을 잘 파악했는지 모르겠지만... 몇가지 방법이 있겠지요 ^^

마타타님께서 현재페이지에만 적용 시키고 싶으시면 제일 윗부분의..

<head>와 <table width=100% cellpadding=0 cellspacing=0> 사이에

<style>
a:link {
font-size: 12px;
color: #000000;
text-decoration: none;

}
a:visited {
font-size: 12px;
color: #000000;
text-decoration: none;
}
a:hover {
font-size: 12px;
/* font-weight: bold; */ /* 마우스를 올렸을때 글씨를 굵게 해줍니다. 지금은 필요치 않아 주석처리 */
color: red; /* red 말고 #FF0000 와 같이 색상표를 참조하여 선택하셔요*/
text-decoration: none; /* 현재 none이기 때문에 언더라인 생기지 않습니다. 필요하시면 underline 으로 해주셔요*/
}
</style>

이렇게 붙여 넣어 주시구요(주석보시면 금방 아셔요..)
물론 링크가 걸린 <span ....> 태그에 style적용을 할 수 있지만서도...
우선은 요렇게 ^^

사이트 전체에 적용하고자 하신다면 CSS 파일의 내용을 위와같이 변경해주시면 될 듯 합니다.
참고로 CSS파일은 그누보드 루트에 style.css 파일이 있습니다. 해당 부분만 변경해주세요.

원하시는 답이 될런지.. ^^;; 그럼 수고하셔요 ^^
© SIRSOFT
현재 페이지 제일 처음으로