Forum Moderators: open
The answer to your question is: no. The size your text boxes end up will depend on:
1. The platform
2. The browser
3. The font face
4. The font size
5. The user settings
Even if you could predict points 1-4, there is nothing to stop a user adjusting his or her settings. A visually-impaired user might select a larger font size, for example, resulting in a bigger input field and your perfect form will break apart.
[webmasterworld.com...]
.input1 {width: 146px; font: 10pt verdana,arial,sans-serif}
and add it to html code:
<input type="text" class="input1">
Unfortunately, "width" css property doesn't work in NN4.x, but you can adjust it to make the same there too.
You have to add "size" attribute to <input> tag according to font/size specified in css class (yes, it was added for this purpose!). It will be something like this:
<input type="text" class="input1" size="8">
Play with "size" attribute value and you'll get the desired result. I've been using this technique for many times and it works excellent.
good luck
P.S. Can anybody test this on Mac/Linux and tell if it works there?