Posted By

Huskie on 04/06/12


Tagged

css link jquery remove ie6 a outline ie7 hyperlink


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

BrockSamsom


Remove hyperlink outline in IE6 & IE7 with jQuery


 / Published in: jQuery
 

IE6 and IE7 don't respect the 'outline' attribute for hyperlinks. This jQuery snippet removes the annoying outline in these browsers.

  1. $('a').each(function () {
  2. $(this).attr('hideFocus','true').css('outline','none');
  3. });

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: amberangela on October 25, 2018

I found that a few email clients show a border around pictures that are connected unless you have designated a border of zero or none in your system. assignment expert You can use both HTML or CSS to do this simply by placing the HTML border element to 2, or the CSS section border-style to none.

You need to login to post a comment.