Created
December 17, 2010 13:19
-
-
Save dkln/744913 to your computer and use it in GitHub Desktop.
IE7 border spacing hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IE7 hacks | |
// cellspacing hack | |
if(jQuery.browser.msie && parseInt(jQuery.browser.version) == 7) { | |
$(function() { | |
$('table').each( function() { | |
var table = $(this); | |
if(spacing = table.css('border-spacing')) { | |
table.attr('cellspacing', parseInt(spacing)); | |
} | |
}); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jaaaa hooor