Ezilon.com - Target Your Audience, be Seen in Your Region

form length

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

They have: 48 posts

Joined: Apr 2001

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's picture

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

Brian Farkas
InterSurge Internet- Powerful linux hosting solutions from $7.50
InfoStar Web Design- Custom web site design and development

They have: 48 posts

Joined: Apr 2001

Thanks Brian, that worked!