Re: css hack for IE: is using the * acceptable
- From: Toby Inkster <usenet200510@xxxxxxxxxxxxxxxxx>
- Date: Sun, 23 Oct 2005 10:57:51 +0100
windandwaves wrote:
> Someone taught me that using the following is like an IE hack:
> div#mydiv {padding: 10px; * padding: 12px;}
I've never seen this, and don't know whether it works, but it's invalid.
Better to do something like:
DIV#mydiv
{ padding: 10px; }
HTML>BODY DIV#mydiv
{ padding: 12px; }
which works and is valid.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
.
- Follow-Ups:
- Re: css hack for IE: is using the * acceptable
- From: windandwaves
- Re: css hack for IE: is using the * acceptable
- References:
- css hack for IE: is using the * acceptable
- From: windandwaves
- css hack for IE: is using the * acceptable
- Prev by Date: Fitting HTML on A4 or any other format.
- Next by Date: Re: Fitting HTML on A4 or any other format.
- Previous by thread: css hack for IE: is using the * acceptable
- Next by thread: Re: css hack for IE: is using the * acceptable
- Index(es):
Relevant Pages
|