Return to Snippet

Revision: 10660
at January 8, 2009 08:09 by haxd


Initial Code
$('*').each(function() {
  if ($(this).css('float') !== 'none') {
    $(this).css('display', 'inline');
  }
});

Initial URL

                                

Initial Description
If you've ever been frustrated at fixing multiple double margin / duplicate character bugs in your page, using this handy jQuery snippit, you can wipe them away instantly!

This code requires the latest version of jQuery.

Initial Title
IE6 Double Margin Bug / Duplicate Characters Bug Fix using jQuery

Initial Tags
js, ie, jquery, ie6

Initial Language
JavaScript