combining IE6 and IE7 css hacks in same stylesheet
I usually use IE conditionals and have a stylesheet for each. This for me is a much neater way to do this. However due to a certain constraints, I have to hack ie6 and 7 in the same stylesheet. I know it won't validate, but how do you isolate ie6 and ie7 with hacks in the same stylesheet? Comprehensive List of Browser-Specific CSS Hacks Source: http://paulirish.com/2009/browser-specific-css-hacks/ /***** Selector Hacks ******/ /* IE6 and below */ * html #uno { color: red } /* IE7 */ *:first-child+html #dos { color: red } /* IE7, FF, Saf, Opera */ html>body #tres { color: red } /* IE8, FF, Saf,