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!

Drop down list box.

Status
Not open for further replies.

kpdvx

Programmer
Dec 1, 2001
87
US
When i have just the drop down list box without the <form> tags, it fits fine into a small space that i have allocated to it. however, when i add the <form> tags, it gets taller, and stretches out the table that contains it. Any ideas on how to get it to remain small?
 
Put the </FORM after the </TR:

<table border=&quot;1&quot;>
<tr><td>Product</td></tr>
<form action=&quot;&quot; method=&quot;post&quot;>
<tr>
<td>
<select name=&quot;prod&quot;><option value=&quot;cf&quot;>ColdFusion</select>
</td>
</tr>
</form>
</table>
 
You should place <form> and </form> tags outside the table.
Also, due to HTML rules, it is not valid to place anything between table formatting tags, even things that don't affect visually on page layout.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top