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

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

QA

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

본문

최신글 소스는 요래요... 분명 저기에 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" >  <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

다른 css와의 영향때문에 그런거같은데

.mokr a:hover {   color:#F00 !important; ... } 식으로처리해보시죠

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

답변을 작성하시기 전에 로그인 해주세요.
전체 125,873 | RSS
QA 내용 검색

회원로그인

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