Posted By

haxd on 01/08/09


js ie jquery ie6

Viewed 1 times

IE6 Double Margin Bug / Duplicate Characters Bug Fix using jQuery

/ Published in: JavaScript

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.

  1. $('*').each(function() {
  2. if ($(this).css('float') !== 'none') {
  3. $(this).css('display', 'inline');
  4. }
  5. });

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.