The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Size of form elements Re: Size of form elements


I investigated a little more today… And came to the following conclusion: All browsers (except IE8) are doing it wrong, so it’s certainly not a bug, it must be a feature! :lol:

Mozilla Developer Center claims the different behavior is "to emulate the behavior of browsers that do not correctly support the CSS box model specification". Nice way to express that IE is stupid. However, there are several CSS properties (every browser is using a different one, of course) that influence the different behavior.

For more, go to:

In fact, Firebug tells me that -moz-box-sizing is set to ‘content-box’ for a normal <input>; for <select>s the default seems to be ‘border-box’.

Solved: … orms.test3