Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Set The Size Of An HTML Input Number Field

I'm using this to set the size of number input fields.

Details

Chrome is automatically sizing form input number fields for me if I put both min and max attributes on them. Firefox is not.

The size attribute also doesn't work. Instead I'm using the above CSS to set the size using the ch unit which is the width "O" character for the font.

Footnotes And References