Looking for some table help here:
<table>
<tr>
<td>
<input type="text" class="half"/>
<input type="text" class="half" />
</td>
<td>
<input type="text"/>
</td>
<td>
<input type="text"/>
</td>
</tr>
</table>
CSS:
table {
width: 100%;
border-spacing: 0;
}
.half {
float: left;
width: 50%;
}
Any ideas on how to get two input fields beside each other filling up half of the natural width of a table cell?
Struggling with this as currently, the input fields in the cells are too wide and I can't figure out why.