2011-05-24 74 views
2

我有一个UL ListItems包含AnchorTags。删除AnchorTag IE边框

这些锚点按钮应具有边框,具体取决于点击事件。 但是在IE和Firefox中 - 当锚点被点击时它会自动将这个虚线边框放在Button的周围。你必须从它点击即可,以便为边界,以dissapear:

enter image description here

这里是一个小提琴,你可以看到什么即时通讯谈论:http://jsfiddle.net/NinjaSk8ter/ZSeFA/

是否有修复此?

+1

**边栏知道所有**可能重复的[CSS - 删除输入按钮边框时选择](http://stackoverflow.com/questions/4913335/css-remove-border-in-input-按钮时选择) – 2011-05-24 01:29:57

+0

@Matt绝对我试图寻找这一点,感谢你的讽刺。 – Paul 2011-05-24 01:41:26

+0

Duplicate:http://stackoverflow.com/questions/1142819/how-to-remove-dotted-border-around-active-hyperlinks-in-ie8-with-css – JohnB 2012-06-07 22:32:14

回答

5
#mid-featureleft-client .navigations a:focus { 
    outline: none; 
}