如何禁用自动链接着色而不选择颜色? [英] How to disable automatic links coloring without selecting a color?
本文介绍了如何禁用自动链接着色而不选择颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这真的很混乱,我不想让浏览器改变链接的颜色,所以链接颜色将保持与< font>
中指定的颜色相同。我知道我可以指定一个颜色的属性 A:link
,但这不是我想要的。
this is really confusing, i don't want the browser to change the color of links, so the links color will stay same as specified in <font>
. i know that i can specify a color with the property A:link
, but that's not what i want.
感谢
推荐答案
如果你不想要任何着色,只需这样做:
If you don't want any coloration just do something like this:
a {
color:inherit;
text-decoration: none;
}
如果它仍然悬停,只需执行a,a:hover,a:访问过,a:active {...}
If it still hovers, just do "a, a:hover, a:visited, a:active {...}
这篇关于如何禁用自动链接着色而不选择颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文