Re: [WSG] need explanation on this css element please
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 **
Re: [WSG] need explanation on this css element please
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 : http://emps.l-c-n.com/ code | design | web projects : http://www.l-c-n.com/ IE5 Mac bugs and oddities : http://www.l-c-n.com/IE5tests/ ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **