开发者

link hover not working

开发者 https://www.devze.com 2023-04-10 22:58 出处:网络
a.f_pc { co开发者_C百科lor:#2972b0; font-weight:bold; text-decoration:none; } a.f_pc:hover { text-decoration:underline;
a.f_pc {
co开发者_C百科lor:#2972b0;
font-weight:bold;
text-decoration:none;
}

a.f_pc:hover {
text-decoration:underline;
    }


<p><a href="faq.html" class="f_pc">learn more</a></p>

could anyone tell me why the hover does not work when I mouse over the link? Thanks


It's got to be getting overridden by something, if you could post the full css/html, it would be possible to figure out what was going on. You could try adding !important to the rule to override it, though I'd still recommend getting to the root cause of it.

a.f_pc:hover {
  text-decoration:underline !important;
}


p styling may be overriding it, try it without it and see if it works.


Take it in just other page and your css working well. But it not working in your file means it might be overriding for other css. Take help from firebug.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号