> On Jan 13, 2008, at 3:44 AM, Bruno Fassino wrote: > >> I guess your intention was to feed the second >> rule to IE only. If so, you can change that with: >> >> * html .featureItem2, *+html .featureItem2 { >> display: inline-block; >> } >> On Sun, 13 Jan 2008 12:47:42 +0900, Philippe Wittenbergh responded: > > That would fail in IE 6, I think. > That browser will see the *+html .featureItem2, fail to understand it, and > treat the > whole block as invalid. > (and that behaviour is actually correct, per 4.1.7 > <http://www.w3.org/TR/CSS21/syndata.html#rule-sets> see the example 'h3, h4 & > h5') >
Just writing to confirm that this is the case. Using the h1 selector and a color property, I find the rule is applied by IE 7 but not by IE 6; viz. - * html h1, *+html h1 {color: green;} /* green in IE 7 only */ FWIW - I find that pairing :hover and :focus like this, IE 6 applies the :hover quite happily, despite lack of support for :focus. Hmm. Cordially, David -- ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/