焦点更改后,IE9中的链接轮廓仍然保留 [英] Outlines on links in IE9 remains when focus is changed
本文介绍了焦点更改后,IE9中的链接轮廓仍然保留的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一些CSS可以更改页面上轮廓的样式.
I have some CSS to change the style of the outline on my page.
*:focus{outline: #5ab6df dotted 2px; }
但是当我切换到其他链接时,部分轮廓将保留在以前的链接上.
But when I tab to different links, part of the outline will remain on previous links.
任何帮助将不胜感激. -IE 9,不在兼容模式下运行.
Any help would be appreciated. -IE 9, not running in compatibility mode.
推荐答案
您是否尝试过在*选择器中将大纲属性设置为无?
Have you tried to set the outline-property to none in the *-selector?
* { outline:none; }
这篇关于焦点更改后,IE9中的链接轮廓仍然保留的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文