[thelist] simple problem with textarea

Minh Lee Goon evolt at goonies.info
Wed Jun 15 08:28:09 CDT 2005


Brian Delaney wrote:
> When I tab through a form the cursor lands in the middle of the texarea 
> on the second line. It does the same for the next textarea box.
> All the other input fields start flush on the left corner.

How are you closing your textarea tag? _EVERY_ character in between the 
tags will translate into characters in the textarea itself. So, if 
you're doing this:

    <textarea ...>
    </textarea>

Then the extra carriage return and spaces will appear in your text area. 
But if you do this:

    <textarea ...></textarea>

you should be okay. Close the tag immediately.

Minh Lee Goon
digerati design studios . com




More information about the thelist mailing list