-
-
Save elrrrrrrr/a0726d1544b46ed45436 to your computer and use it in GitHub Desktop.
css hack for IE
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
#hack { | |
color:red; /* All browsers */ | |
color:red !important;/* All browsers but IE6 */ | |
_color:red; /* Only works in IE6 */ | |
*color:red; /* IE6, IE7 */ | |
+color:red;/* Only works in IE7*/ | |
*+color:red; /* Only works in IE7 */ | |
color:red\9; /* IE6, IE7, IE8, IE9 */ | |
color:red\0; /* IE8, IE9 */ | |
color:red\9\0;/*Only works in IE9*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment