Re: css hack for IE: is using the * acceptable



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

.



Relevant Pages

  • Re: Quicklaunch folders act as menu
    ... Thank you for the simplified hack... ... the other hack, though, since it taught me something new about windows, ... Do you know of any location of documentation ...
    (microsoft.public.windowsxp.customize)
  • Re: {OT} Obama shot the markets in the ass
    ... forces to take care of the problem. ... Read what I taught the Hack. ... That you're a brick? ...
    (alt.autos.toyota)