How can I limit the number of characters allowed to be entered into a text box, or how can I remove the scroll bars to hopefully acheive the same results? I don't want to accept more than 255 characters.
If you want to get rid of the scrollbars, use the style overflow: hidden. This will not prevent a user from entering as many characters as he wants, however.
joshie76
2:32 pm on Sep 19, 2002 (gmt 0)
There's a rather neat behaviour for IE on siteexperts [siteexperts.com] that allows you to use a maxlength attribute that works just like a maxlength on a normal field.