테스트 사이트 - 개발 중인 베타 버전입니다

최신글 에서 마우스를 올리면 밑줄은 생기는데 글자색은 안 변하네요. 클래스 a:hover로 스타일 줬는데...말이죠 채택완료

아미꼬 11년 전 조회 4,206
최신글 소스는 요래요... 분명 저기에 a:hover 로 color:#F00;레드를 줬거든요.
밑줄도 칼라가 있어서 두번줬거든요. 혹시나 해서 언더라인 스타일 사이로 색깔 스타일 자리도 바꾸고 이랬는데도
밑줄색은 마우스올리면 빨간선으로 들어가는데 글자색깔은 아무리 바꿔도 a에서 준 힌색에서 도통 변하지가 않네요.
제가 놓친거라도........ㅜ.ㅜ
 
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.mokr  {  font-family:돋움; font-size:12pt;  line-height:130%;}
.mokr a {  color:#ffffff;font-family:돋움; font-size:12pt; text-decoration:none;  line-height:130%;}
.mokr a:hover {   color:#F00;   font-family:돋움; font-size:12pt; text-decoration: underline;color:#f00;  line-height:130%;}
</style>
<table width=199px cellpadding=0 cellspacing=0   background="<?=$latest_skin_path?>/img/notice_bg.gif"  height="143"  >
<tr>
<td height="40" valign="top">
<table  cellpadding=0 cellspacing=0    >
<tr height="31">
    <td width=10></td>
    <td width='199' height="30" align="left" >&nbsp;&nbsp;<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>' style="color:#ffffff; font:'Rix고딕 B'; font-size:14px; font-weight:bold; text-decoration:none; ">온라인상담실</a></td>
    <td width="23" ><!--<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>' target="_blank"  ><img src='<?=$latest_skin_path?>/img/more.gif' /></a>--></td>
    <td width=18></td>
</tr>
<TR>
<TD colspan="4" height="9">
</TD>
</TR>
</table>
</td>
</tr>
<tr>
<td height="94" valign="top">
<table width=199px cellpadding=0  cellspacing=0 >
<? for ($i=0; $i<count($list); $i++) { ?>
<tr height="22">
    <td colspan=5 align=left>
        <table width=100%  cellpadding=0 cellspacing=0 border="0">
        <tr valign="top">
          <td width="10" valign="bottom"></td>
       
            <td height=15 align="left" valign="bottom" class="mokr"  ><img src='<?=$latest_skin_path?>/img/icon.gif'  align=absmiddle>    
          <?
            echo $list[$i]['icon_reply'] . " ";
            echo "<a href='{$list[$i]['href']}'>";
            if ($list[$i]['is_notice'])
                echo "<font style='font-family:돋움; font-size:10pt; color:#ffffff; '>{$list[$i]['subject']}</font>";
            else
                echo "<font style='font-family:돋움; font-size:10pt; color:#ffffff;text-decoration:none;'>{$list[$i]['subject']}</font>";
            echo "</a>";
            // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
            // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
            ?></td>
            </tr>
        </table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</font></a></td></tr><? } ?>

</table>
</td>
</tr>
</table>
댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
SLOOP
11년 전
다른 css와의 영향때문에 그런거같은데

.mokr a:hover {   color:#F00 !important; ... } 식으로처리해보시죠
로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

아미꼬
11년 전
소스구하면서 간혹가다가 종종 important;의 문구를 봤습니다. 당최 무슨의미가 있을지 진지하게 고민해본적은 없지만
귀하의 답변을 들어 보니 딱 감이 왔습니다. 중요하다 "^^:;; 네 답변감사드립니다.

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인