Jasper Kuperus schrieb:
> http://shirmanos.student.utwente.nl/~jasper/index.php?id=5
My question about this hack is, is this a real hack? And if it is, is it
a new hack or is it a known hack?
width: 100% -;
forces FF to drop this declaration. Note what the Javascript Console of
Firefox says:
"Error: Expected end of value for property but found '-'. Error in
parsing value for property 'width'. Declaration dropped."
So, the width declaration is dropped, at least in Firefox. Now the width
defaults to auto. Now insert width:auto instead of your hack.
You might want to make experiments with
box-sizing: border-box;
-moz-box-sizing: border-box
in Opera/Mozilla, see
http://www.w3.org/TR/css3-ui/#box-sizing
regards, Ingo
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/