Re: [WSG] need explanation on this css element please

2005-01-28 Thread Philippe Wittenbergh
On 29 Jan 2005, at 5:12 am, Rob Mientjes wrote:
*html li {padding:0;margin:0;}
It's the 'star html' hack, which is only parsed by IE. IE thinks
there's another element 'above' html. There isn't, but hey.
also, I noticed this doesn't validate by w3c, but I see it a lot
It should validate. Get rid of the space.
It should be * html rest-of-selector {property:value}
Note the space between the * and html.
Philippe
---/---
Philippe Wittenbergh
now live : 
code | design | web projects : 
IE5 Mac bugs and oddities : 
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**


Re: [WSG] need explanation on this css element please

2005-01-28 Thread Rob Mientjes
On Fri, 28 Jan 2005 15:04:52 -0500, Bruce Gilbert <[EMAIL PROTECTED]> wrote:
> *html li {padding:0;margin:0;}

It's the 'star html' hack, which is only parsed by IE. IE thinks
there's another element 'above' html. There isn't, but hey.

> also, I noticed this doesn't validate by w3c, but I see it a lot

It should validate. Get rid of the space.
-- 
Cheers,
Rob.

http://zooibaai.nl   |   http://digital-proof.org
**
The discussion list for  http://webstandardsgroup.org/

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



[WSG] need explanation on this css element please

2005-01-28 Thread Bruce Gilbert
Can someone explain exactly what using * in front of something does such as

*html li {padding:0;margin:0;}

also, I noticed this doesn't validate by w3c, but I see it a lot
-- 
::Bruce::
**
The discussion list for  http://webstandardsgroup.org/

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