即使我已经禁用所有相关的CSS? [英] Blue lines under links on my site even though I've disabled all related CSS?
问题描述
禁用文本装饰,轮廓,边框和我可以想到的一切。使用检查工具,我找不到任何会导致这些蓝色线条。
I've tried disabled text-decoration, outlines, borders, and everything else I can think of. Using the inspect tool I cannot find anything that would cause these blue lines.
此问题不会影响Firefox。
This issue does not affect Firefox.
带有蓝色下划线的文本是 span
。
The text with the blue underline is a span
inside of an anchor tag.
推荐答案
您似乎有这个问题:
http://www.google.com/support/forum/p/Chrome/thread?tid=44100701f93d5951&hl=zh_CN
当您按F12并检查受影响的元素时,您应该注意到:
When you press F12 and inspect the elements affected, you should notice this:
a:-webkit-any-link{
...
text-decoration: underline;
}
因此,可能添加如下样式表:
So maybe adding a stylesheet like this:
a:-webkit-any-link{
text-decoration:none !important;
}
更新:我复制了它和上面的样式表,添加到您的main.css文件工作。
不需要两个:,这是一个拼写错误。
UPDATE : I reproduced it and the above stylesheet, added to your main.css file worked. No need of two ":", it was a typo probably.
无论如何,它解决了我的电脑上的问题,尝试添加到您的主。 css和它应该工作。
谢谢!
Anyway it solved the problem on my PC, try to add it to your main.css and it should work. Thanks!
这篇关于即使我已经禁用所有相关的CSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!