input box maxlength vs size and CSS
800409Jun 3 2005 — edited Jun 3 2005In my application a large number of the screens are actually generated by one JSP. This JSP iterates through an object that was populated from either a database or XML file depending on some settings... when it builds it it sets the size and maxlength based on the picture of the field (X15) for instance.
The problem I'm having is that when it displays on the screen if the size and maxlength are both set to 15 the field will accept 15 characters, but the size seems to be too small... only 13 or so characters can be seen.
I've read that this deals with the font type and size...
To make this work I've had to make the maxlength larger then the size by an increasing amount based on the maxlength.
does anyone know anything about this and can suggest a fix for this?