Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

input box that will span multiple lines 1

Status
Not open for further replies.

campagnolo1

Technical User
Dec 19, 2011
54
US
Trying to get a shopping cart together and am stuck with a memo input field that I would like to span across multiple lines (it's for special shipping or order instructions). Unfortunately it's not working out correctly. Here is the code I'm using:
<table width="550" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable">
<tr class="entryTableHeader">
<td colspan="2">Special Instructions</td>
</tr>
<tr>
<td width="150" class="label">Memo</td>
<td class="content"><textarea name="txtMemo" class="textarea" id="txtMemo" rows="5" cols="80"></td>
</tr>
</table>
The table appears nicely on the site, so does the input box with scroll bar. But inside the textbox is all the code that comes after <td class="content"><textarea name="txtMemo" class="textarea" id="txtMemo" rows="5" cols="80">
Any ideas what I'm missing here....?
 
You need to close the textarea i.e. </textarea> By the way its going to be extremely long at 80 columns but not very high. 5 rows.

Code:
<textarea name="txtMemo" class="textarea" id="txtMemo" rows="5" cols="80">[red]</textarea>[/red]

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown. 

[url=http://behindtheweb.blogspot.com/] Web & Tech [/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top