Remove hyperlink outline in IE6 & IE7 with jQuery


/ Published in: jQuery
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. $('a').each(function () {
  2. $(this).attr('hideFocus','true').css('outline','none');
  3. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.