|
Posted by Els on 07/06/06 12:14
Martin Pöpping wrote:
> Hello,
Hi,
> I´ve a question about CSS.
> What does the following TAG-definition mean:
>
> * html div#main{
>
> }
>
> In general... what means "* html" before the div#main definition?
Just the * stands for 'any element', so for instance div#main *{...}
would apply to any element inside div#main.
IE doesn't understand that there are no elements higher up in the
document than <html>, so the writer of that line uses that to feed a
set of property values to IE only. Only works on IE5 and 6 -
IE7(beta2) doesn't apply the rule.
--
Els http://locusmeus.com/
Navigation:
[Reply to this message]
|