|
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]
|