|
I'm trying to make a small table with 2 rows and 3 columns.
I want the first and third columns to be small columns and the second column, the middle column, to take up all the space in between. I do this by setting a specified table width, then specifing widths on columns 1 and 3, and then not specifing a width for the second (middle) column.
This seems to work, until I make the second row. It spans all 3 columns (colspan=3). When a few letters are written in this cell, the table stays fine, but when text (or an image) reaches the middle of the table, the cells in the first row get all out of whack. Why does it do this?
Thanks for reading, and hopefully helping... - Jesse
Oh, here's some code: (table looks fine unless the colspan=3 column has lots of text in it)
<html>
<body>
<table width=200 border=1 cellpadding=0 cellspacing=0 bordercolor=black>
<tr height=50>
<td width=50> </td>
<td> </td>
<td width=50> </td>
</tr>
<tr height=50>
<td colspan=3 align=center> </td>
</tr>
</table>
</body>
</html>
|