Previous Message
Next Message

Vertical space - dangerous with CSS

Sent by Holly Bergevin on 1 November 2004 14:02


From: "Zoe M. Gillenwater" [EMAIL-REMOVED]>

>Bruce wrote:
>
>> Sorry, I was thinking of the '* html' form, and it is the 'html' that 
>> is IE-specific.
>
>
>Right, and just for further clarification for the good of the list, the 
>reason only IE recognizes "* html" is because it is, well, stupid.  "* 
>html" means "any element that is a parent of the html element."  Nothing 
>is the parent of html, but IE doesn't seem to know or care.  So good 
>browsers ignore selectors that start with "* html" while IE happily 
>applies them.

Actually, "* html" can be 'translated' - Select any HTML element that is a descendant of any other
element. - It doesn't select a parent element. That HTML is not a descendant of another element is
the error. Although it hasn't been mentioned yet, please note that both IE-Win and IE5-Mac share
this "delusion."

hth,

~holly 

SelectORacle - Translations of CSS2 and CSS3 selectors (watch wrap) 
http://penguin.theopalgroup.com/cgi-bin/css3explainer/selectoracle.py   
 
                   
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: