Need a hack for my new least favorite browser, Internet Explorer 9?
So Internet Explorer 9 is out. As usual, I’ve found that there are cases where a hack to adjust the CSS for this browser is needed. The star * method doesn’t work. What does work is to add \0/ to your css. So your CSS might look like this:
height:20px \0/;
Update. This appears to also affect IE8. It also doesn’t work for some styles, such as color or background-color. Another hack that does work for color is adding a \9:
color:#000\9;
Problem with that is it affects at least IE7, 8 &9. You could over-ride those (see the comments below), but you’re probably better off using conditional statements.





