How to remove dotted border around active hyperlinks in IE8 with CSS

前端 未结 12 1673
囚心锁ツ
囚心锁ツ 2020-11-28 06:31

Active hyperlink texts are highlighted with dotted border. When using effects on such hyperlinks (fadeIn/fadeOut) it produces strange effects. How do I disable/remove the do

12条回答
  •  盖世英雄少女心
    2020-11-28 06:58

    you can also use outline:0 on object and embed. some basic zeroing out css would look like this:

    a, a:visited { 
        text-decoration:none;
        color: #e3a512; 
        }
    a:hover, a:active, a:focus { 
        text-decoration:none;
        color: #fff;
        outline:0;
        }
    object, embed, a, a img, a:active, a:selected, a:visited {
        outline:0
        }
    

提交回复
热议问题