Created
June 5, 2012 17:22
-
-
Save michaelschofield/2876355 to your computer and use it in GitHub Desktop.
IE CSS Hacks (IE6, IE7, and IE8)
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
/* ======================================== | |
* I find these special character hacks for | |
* Internet Explorer super useful. Enjoy. | |
* ======================================== */ | |
body { | |
color: red; | |
/* =============================== | |
* Change the text color to green | |
* for IE8, IE7, and IE6 with '\9' | |
* =============================== */ | |
color: green\9; | |
/* =============================== | |
* Change the text color to yellow | |
* for IE7 and IE6 with an asterisk | |
* =============================== */ | |
*color: yellow; | |
/* =============================== | |
* Change the text color to orange | |
* for just IE6 with and underscore | |
* =============================== */ | |
_color: orange; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment