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;
> }

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')

You'd have to write
* html .featureItem2 {/* rules */}
*+html .featureItem2 {/* rules */}

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
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/

Reply via email to