Created
August 13, 2012 16:36
-
-
Save epost/3342395 to your computer and use it in GitHub Desktop.
Conditional comments around the body tag
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
<html> | |
<!--[if lt IE 7]> <body class="home ie6 ie-lt-7 ie-lt-8 ie-lt-9"> <![endif]--> | |
<!--[if IE 7]> <body class="home ie7 ie-lt-8 ie-lt-9"> <![endif]--> | |
<!--[if IE 8]> <body class="home ie8 ie-lt-9"> <![endif]--> | |
<!--[if IE 9]> <body class="home ie9"> <![endif]--> | |
<!--[if gt IE 9]><!--> <body class="home"> <!--<![endif]--> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment