Roderik <ma**@roderik.net> wrote:
On http://www.cyl.nl/tips/index.html you see a textarea. In firefox the
textarea falls over the border of the form, in internet explorer it fits
exactly into the form. Any idea how to get the appearance in firefox the
same?
IE and Opera 7 get this wrong. In the css box model width=100% refers to
the content excluding borders, padding and margin. Browsers auto
generate borders for form elements, hence it spills over its container.
CSS3 may offer 2 different box models via the box-sizing property, Moz
currently supports a preliminary implementation of this via the
proprietary -moz-box-sizing:border-box
Adding that to the form element should fix it.
--
Spartanicus