What is the replacement for the child selector?
问题 Since IE6 does not support the child selector (see http://kimblim.dk/csstest/#ex1), what is the alternative when dealing with this browser? I do not want to modify the markup, and I'd much much prefer a CSS-only solution... And yes, it is the direct child that I wish to target. Thanks! 回答1: I've come across something of a hack: http://meyerweb.com/eric/thoughts/2005/05/31/universal-child-replacement/ Using the 'star html' hack for IE (6 and below) in combination with this allows me to select