You would think that as we move along in browser developments, developers would try to keep out new exceptions. Today I was trying to find a solution for a background color that wasn’t taking in IE6 and I ran across this post by Romain at Deep Inside title IE6 And IE7 don’t have compatible CSS tricks.
Turns out that if you want your IE code hack to apply to IE7, you’re going to have to duplicate the hack and replace the underscore with a period, like so:
font-size: 1.3em; /* For every browser */
_font-size: 1.1em; /* Size description for IE6 */
.font-size: 1.1em; /* Size description for IE7 */
Yes. Internet Explorer is the bane of my existence as a developer…