开发者

IE - no longer possible to remove box outline?

开发者 https://www.devze.com 2023-04-06 21:02 出处:网络
the usual way to remove the IE link outline no longer seems to work for me - I\'m using IE9 which doesn\'t h开发者_Python百科ave the outline, but when I switch back to 7 or 8 (using IE9\'s dev tools)

the usual way to remove the IE link outline no longer seems to work for me - I'm using IE9 which doesn't h开发者_Python百科ave the outline, but when I switch back to 7 or 8 (using IE9's dev tools) the outline is there. My CSS is below - anyone any ideas?

a:active, a:selected { 
    border: none;
    outline: none;
}


Please download a proper virtual machine environment that contains old versions of Internet Explorer. It could be that the compatibility mode does not render your HTML the way it should. The best way to test IE is to actually use IE in a clean environment. You can download the App Compat VHDs here:

http://www.microsoft.com/download/en/details.aspx?id=11575


Please download a proper emulater for old versions of Internet explorer. It could be that the compatibility mode does not render your code the way it should. The best emulator is The IE Tester, you can download a copy from here..

http://www.my-debugbar.com/wiki/IETester/HomePage

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号