Emulating CSS Child Selectors in IE6

added by kcraft
5/19/2010 11:24:40 AM


If you need to support IE6 and cannot redesign your layout and/or stylesheet to avoid the need for child selectors, then your only option is to emulate the child selector in some way. There are several methods for doing this, and many of them are well documented across the internet, but I will explain them all right here along with their pros and cons. This article covers solutions involving jQuery, CSS Expressions, use of more CSS classes, Dean Edwards’ script, and the CSS descendant selector.