Click to See Complete Forum and Search --> : Inserting a line break in TEXTAREA in a FORM


Duke Will
07-31-2003, 10:30 AM
I have this code in my FORM html...

<textarea cols=63 rows=10 name=sender_message>[ I would also like to attend the CD-Announcement Party. ]</textarea>

So, that text starts right at the beginning of the textbox on the webpage. How can I shove it down a couple of lines? So there's blank space between the start of the textbox and that message I'm inserting.

AdamGundry
07-31-2003, 10:35 AM
Textareas work like preformatted text, taking the spacing/line breaks from the HTML, so you can do this:

<textarea cols=63 rows=10 name=sender_message>


[ I would also like to attend the CD-Announcement Party. ]
</textarea>

Adam

Duke Will
07-31-2003, 10:49 AM
Cool, Adam, got it! It worked.