CSS - 不需要的边框底部 [英] CSS - Unwanted Border-Bottom
问题描述
基本代码是
: p> a:link,a:visited {color:#000000; text-decoration:none; border-bottom:1px dotted#c6132e; }
但是,我不希望它出现在所有链接,特别是主导航。当你点击任何链接,它就会显示出来。
在css的第56行,我放置这个代码来删除边框底部,但它不似乎正在工作:
ul#main_nav li a:link,
ul#main_nav li a:visited
ul#main_nav li a:hover,
ul#main_nav li a:active {border-bottom:none; }
感谢第二套眼睛看看这个,帮我找到解决方案。 p>
谢谢!
BTW:这里是链接: http://www.rouviere.com/aav/index.html 只需点击任意主导航按钮即可。
正如Timhessel所说,这是你的焦点大纲...虽然这不是建议你可以添加这个来摆脱它:
ul#main_nav li a {outline-color:transparent; }
Just doing a little touch up before finishing a conversion project and I have an unwanted border-bottom that needs to be removed.
The base code is:
a:link, a:visited { color: #000000; text-decoration: none; border-bottom: 1px dotted #c6132e; }
However, I don't want it to show up on all links, particularly the main navigation. When you click on any of the links there it shows up.
On line 56 of the css I placed this code to remove the border-bottom, but it doesn't seem to be working:
ul#main_nav li a:link,
ul#main_nav li a:visited
ul#main_nav li a:hover,
ul#main_nav li a:active { border-bottom: none; }
Would appreciate a second set of eyes to look this over and help me find the solution.
Thanks!
BTW: here is the link: http://www.rouviere.com/aav/index.html just click on any of the main navigation buttons.
As Timhessel said, it's your focus outline... although this isn't recommended you could add this to get rid of it:
ul#main_nav li a { outline-color: transparent; }
这篇关于CSS - 不需要的边框底部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!