Variable input length in table
-
How to create an input space spanning more than one row? The last two fields are the varchar limit, how do I create an input vertical text block to accommodate this? Previous efforts run off of the page.
<style> table, th, td { border: 1px solid black; border-collapse: collapse; } </style> <form action="https://www.hawesfamilyassociation.com/wp-content/themes/twentyfourteen-child/HFA_insertMembers.php" method="post"> <table style="width:90%;"> <tbody> <tr> <td>Title</td> <td><select id="Title" name="Title"> <option>Mr.</option> <option>Ms.</option> <option>Mrs.</option> <option>Mr. & Mrs.</option> <option>Dr.</option> <option>Rev.</option> </select></td> </tr> <tr> <td><label for="FirstName">First Name</label></td> <td><input id="FirstName" name="FirstName" size="20" type="text" /></td> </tr> <tr> <td style="border-bottom: none;"><label for="LastName">Last Name</label></td> <td style="border-bottom: none;"><input id="LastName" name="LastName" size="20" type="text" /></td> </tr> <tr> <td><label for="Address">Address</label></td> <td style="border-bottom: none;"><input id="Address" name="Address" size="50" type="text" /></td> </tr> <tr> <td><label for="City">City </label></td> <td><input id="City" name="City" size="15" type="text" /></td> <tr> <td><label for="State">State </label></td> <td><input id="State" name="State" size="2" type="text" /></td> </tr> <tr> <td><label for="Zip">Zip </label> <td><input id="Zip" name="Zip" size="15" type="text" /></td> </tr> <tr> <td align="right"><label for="Country">Country:</label></td> <td align="left"><input id="Country" name="Country" type="text" value="USA" /></td> </tr> <tr> <td align="right"><label for="Phone">Phone </label></td> <td align="left"><input id="Phone" name="Phone" size="15" type="text" /></td> </tr> <tr> <td align="right"><label for="CellPhone">CellPhone </label></td> <td align="left"><input id="CellPhone" name="CellPhone" size="15" type="text" /></td> </tr> <tr> <td align="right"><label for="Email">Email </label></td> <td align="left"><input id="Email" name="Email" size="15" type="text" /></td> </tr> <tr> <td align="right"><label for="Notes">Notes </label></td> <td align="left"><input id="Notes" name="Notes" size="100" type="text" /></td> </tr> <tr> <td align="right"><label for="HawesLine">Hawes Line </label></td> <td align="left"><input id="HawesLine" name="HawesLine" size="100" type="text" /></td> </tr> </tbody> </table> <button name="save" type="submit">Save</button> </form>
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Variable input length in table’ is closed to new replies.