
January 30th, 2012, 07:30 PM
|
|
Contributing User
|
|
Join Date: Sep 2010
Posts: 35
Time spent in forums: 11 h 53 m 58 sec
Reputation Power: 0
|
|
|
Input Boxes out of assigned colspan
I am trying to make a six column Table. The Input boxed center the first inputbox and move all then others out of the colspan. I would like to have all of them lined up in the colspan under the Labels. Here is part of the program:
Code:
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" colspan="6" class="cellHeader">
<center>
<p class="cellHeaderText">
<font size="9"><u><b> TitleName</b></u></font>
</p>
</center>
</td>
</tr>
<tr>
<td align="center"><br/><h5>Month</h5></td>
<td align="center"><br/><h5>Day</h5></td>
<td align="center"><br/><h5>Year</h5></td>
<td align="center"><br/><h5>Timezone</h5></td>
<td align="center"><br/><h5>DST</h5></td>
<td align="center"><br/><h5>LON</h5></td>
</tr>
<tr>
<td align="center" colspan="6"><input type="text" name="mo1" value = "2" size = "8" /></td>
<td align="center" colspan="6"><input type="text" name="dy1" value = "10" size = "8" /></td>
<td align="center" colspan="6"><input type="text" name="yr1" value = "2012" size = "8" /></td>
<td align="center" colspan="6"><input type="text" name="tz1" value = "-5" size = "8" /></td>
<td align="center" colspan="6"><select name="dst1">
<option value="1">Yes</option>
<option value="0">No</option>
</select></td>
<td align="center" colspan="6"><input type="text" name="lon1" value = "-81.5" size = "3" /></td>
</tr>
<tr>
There are other additions to the website but they do not use colspan="6"
</table>
|