/ 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.
This code requires the latest version of jQuery.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('*').each(function() { if ($(this).css('float') !== 'none') { $(this).css('display', 'inline'); } });