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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid form tag? 1

Status
Not open for further replies.

danielh68

Technical User
Jul 31, 2001
431
US
Hi.

My boss purchased an autoresponder and ask me to insert it into our company website. It works fine, but the form code that I copied and pasted from their site has some glitches which screws up my table settings. It's in the form tag itself. It's strange, my table contracts and expands according to the length of the top form tag. It should be invisible and not inherit any physical properties. Please take a look, recommendations are very much appreciated.

<p> <form method=&quot;post&quot; action=&quot; <div align=&quot;left&quot;></div>
<table width=&quot;70%&quot; border=&quot;2&quot;>
<tr>
<td width=&quot;154&quot; valign=&quot;top&quot; class=&quot;text2&quot;>
<div align=&quot;left&quot;>E-Mail Address:</div>
</td>
<td width=&quot;339&quot; valign=&quot;top&quot;>
<input type=&quot;text&quot; name=&quot;email&quot; size=&quot;40&quot; maxlength=&quot;75&quot;>
</td>
</tr>
<tr>
<td valign=&quot;top&quot; class=&quot;text2&quot;>
<div align=&quot;left&quot;>First Name:</div>
</td>
<td valign=&quot;top&quot;>
<input type=&quot;text&quot; name=&quot;firstname&quot; size=&quot;40&quot; maxlength=&quot;75&quot;>
</td>
</tr>
<tr>
<td valign=&quot;top&quot; class=&quot;text2&quot;>
<div align=&quot;left&quot;>Last Name:</div>
</td>
<td valign=&quot;top&quot;>
<input type=&quot;text&quot; name=&quot;lastname&quot; size=&quot;40&quot; maxlength=&quot;75&quot;>
</td>
</tr>
<tr>
<td valign=&quot;top&quot; class=&quot;text2&quot;>
<div align=&quot;left&quot;>Address:</div>
</td>
<td valign=&quot;top&quot;>
<input type=&quot;text&quot; name=&quot;address1&quot; size=&quot;40&quot; maxlength=&quot;75&quot;>
</td>
</tr>
<tr>
<td valign=&quot;top&quot; class=&quot;text2&quot;>
<div align=&quot;left&quot;>Address Cont.:</div>
</td>
<td valign=&quot;top&quot;>
<input type=&quot;text&quot; name=&quot;address2&quot; size=&quot;40&quot; maxlength=&quot;75&quot;>
</td>
</tr>
<tr>
<td valign=&quot;top&quot; class=&quot;text2&quot;>
<div align=&quot;left&quot;>City:</div>
</td>
<td valign=&quot;top&quot;>
<input type=&quot;text&quot; name=&quot;city&quot; size=&quot;40&quot; maxlength=&quot;75&quot;>
</td>
</tr>
<tr>
<td valign=&quot;top&quot; class=&quot;text2&quot;>
<div align=&quot;left&quot;>State:</div>
</td>
<td valign=&quot;top&quot;>
<input type=&quot;text&quot; name=&quot;state&quot; size=&quot;40&quot; maxlength=&quot;75&quot;>
</td>
</tr>
<tr>
<td valign=&quot;top&quot; class=&quot;text2&quot;>
<div align=&quot;left&quot;>Zipcode:</div>
</td>
<td valign=&quot;top&quot;>
<input type=&quot;text&quot; name=&quot;zipcode&quot; size=&quot;40&quot; maxlength=&quot;75&quot;>
</td>
</tr>
<tr>
<td valign=&quot;top&quot; class=&quot;text2&quot;>
<div align=&quot;left&quot;>Country:</div>
</td>
<td valign=&quot;top&quot;>
<input type=&quot;text&quot; name=&quot;country&quot; size=&quot;40&quot; maxlength=&quot;75&quot;>
</td>
</tr>
<tr>
<td valign=&quot;top&quot; class=&quot;text2&quot;>
<div align=&quot;left&quot;>Phone:</div>
</td>
<td valign=&quot;top&quot;>
<input type=&quot;text&quot; name=&quot;phone&quot; size=&quot;40&quot; maxlength=&quot;75&quot;>
</td>
</tr>
<tr>
<td valign=&quot;top&quot; class=&quot;text2&quot;>
<div align=&quot;left&quot;>Fax:</div>
</td>
<td valign=&quot;top&quot;>
<input type=&quot;text&quot; name=&quot;fax&quot; size=&quot;40&quot; maxlength=&quot;75&quot;>
</td>
</tr>
<tr>
<td colspan=2>
<p> <br>
<span class=&quot;text2&quot;>Number of sites?</span>
<select name=options1>
<option value=&quot;&quot;>Select One</option>
<option>1-5 </option>
<option>6-10 </option>
<option>11-25 </option>
<option>25 up</option><br>

</select>
<p><br>
<input type=&quot;hidden&quot; name=&quot;un&quot; value=&quot;opti&quot;>
<input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Submit&quot;></form>
 
the percentage is set in the opening table tag

<table width=&quot;70%&quot; border=&quot;2&quot;>

take it out if you don't want the table to shift around...
it is changing to match the size of the window...

hth Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
Ahhh, thanks Bastien! Work perfect now. --Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top