form length
Hello everyone!
I am attempting to get consistent results on a form length using this HTML:
But for some odd reason it doesnt show up consistently in each browser and computer operating system. I want there to be enough for just 2 characters, but most of the time is leaves room for a third, even though I specified a maxlength and size of 2.
Someone please help!
Brian Farkas posted this at 21:01 — 26th December 2001.
They have: 1,015 posts
Joined: Apr 1999
Hi,
Unfortunately, each browser seems to have a different way of displaying form fields... so one browser may show a form field longer than another.
However, the style attribute might possibly work. It looks like 2 standard text characters take up about 25 pixels... so:
Good luck!
Brian
Shotaker posted this at 00:06 — 27th December 2001.
They have: 48 posts
Joined: Apr 2001
Thanks Brian, that worked!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.