从链接中删除文本装饰 [英] Remove text decoration from links
本文介绍了从链接中删除文本装饰的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为什么不会从此页的Facebook和刺客行业链接中删除下划线。
Why won't this remove the underline from the facebook and assassin industries links on this page.
.module_wpproad {
text-decoration:none;
border:none;
}
推荐答案
c> text-decoration 链接的属性优先于容器的 text-decoration
属性。您将需要在您的覆盖中具体:
The default text-decoration
attribute of links takes precedence over the text-decoration
attribute of the container. You will need to be specific in your override:
.module_wpproad a {
text-decoration: none;
}
这篇关于从链接中删除文本装饰的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文