You are here: Re: css hack for IE: is using the * acceptable « HTML « IT news, forums, messages
Re: css hack for IE: is using the * acceptable

Posted by Toby Inkster on 10/23/05 21:52

windandwaves wrote:

> However, I noticed that the asterix works fine. Just try it. It is
> invalid, but that is the exact reason you do it. So that firefox, etc... do
> not go for the padding 12px, while IE ignores the * and applies padding
> 12px.

No -- it's invalid, which is why you *shouldn't* use it.

Proper browsers (Opera, Firefox, etc) might ignore the second padding
value today, but future versions might start to apply the second padding
value. You've used an invalid contruct, so "proper" behaviour is
undefined -- the browsers can do what they like.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this 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

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