[EMAIL PROTECTED] wrote:
is a chain of descendant selectors (with the '>' representing a direct
parent>child pair), what could possibly be the parent of html ?

According to spec, nothing. However all versions (AFAIK) of IE, both Win and Mac, render their DOM with an anonymous parent to the HTML element. Someone else could probably explain with the appropriate technical terms, but that is how I understand it

So, '* html' will therefore only be a rule rendered by versions of Internet Explorer as all other browsers (to my knowledge) render correctly with HTML as the root element. Using this bug to your advantage via CSS is commonly referred to as the "Star Hack"

Meanwhile IE/Win doesn't support child selectors ('html > body'), but IE/Mac does. Therefore '* html > body' means that nothing IE/Mac will render that CSS rule. Commonly referred to as the "Star Body Hack" (Probably should be "Star Child", but language is what it is)

Cheers
Lachlan




******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to