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

Your name:

Reply:


Posted by Toby Inkster on 10/23/05 12:57

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация