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


You need to login to view comments.