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  

You need to login to post a comment.