Created
January 9, 2013 17:16
-
-
Save shrwnsan/4494941 to your computer and use it in GitHub Desktop.
IE8 tweaks/workarounds
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
// lack of support for CSS :first-child and :last-child | |
if ($.browser.msie && parseInt($.browser.version, 10) === 8) { | |
$('ul li:first').addClass('first'); | |
$('ul li:last').addClass('last'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment