IE7大纲:0不工作 [英] IE7 outline:0 not working
本文介绍了IE7大纲:0不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道大纲用于辅助功能,但另一种方法是:
a $ {
outline :0;
}
在IE7中可用的东西
$ b $对于jQuery,你可以尝试这样
$ $ $ b $ b
$('a')。focus(function(){
$(this).blur();
});
它基本上与IE 7唯一的解决方案是一样的,它说锚点聚焦,模糊。我试过这个在Mac VM IE 7和它工作
顶部有大纲,底部没有
I understand the the outline is used for accessibility but what's another way of doing:
a {
outline: 0;
}
something that works in IE7
using Jquery perhaps?
解决方案
For jquery you can try something like this
$('a').focus(function() {
$(this).blur();
});
It's essentially the same thing as the IE 7 only solution, it says when anchor is focused, blur it. I tried this on Mac VM IE 7 and it works
the top one has the outline and bottom one does not
这篇关于IE7大纲:0不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文