Created
January 15, 2014 21:53
-
-
Save jbutko/8445495 to your computer and use it in GitHub Desktop.
IE, CSS: CSS Hacks IE6-IE9
This file contains hidden or 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*/ | |
} | |
/* From http://codemug.com/html/css-hacks-for-ie6ie7ie8ie9-and-ie10/ */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment