gpalmer711
IS-IT--Management
I am having a problem with setting cell heights on a template that I am trying to complete at the moment. The basic table code without content is shown below.
Heres my problem, on the 3rd row I have 2 columns. The second column spans 3 rows. This works fine with no content in that column.
However if I add content to the second column of row 3 then the 3 rows that it spans do not keep their height sizes.
What I would like to happen is that row 1 and 2 of the spanned rows keep their heights, where as the 3rd row can grow in height.
I hope this makes sense, if not let me know and i'll try and explain better.
Greg Palmer
Free Software for Adminstrators
Code:
<table border="1" cellspacing="1" width="802" id="AutoNumber1">
<tr>
<td width="100%" height="100" colspan="2"> </td>
</tr>
<tr>
<td width="100%" height="30" colspan="2"> </td>
</tr>
<tr>
<td width="175" height="75"> </td>
<td width="627" rowspan="3"> </td>
</tr>
<tr>
<td width="175" height="250"> </td>
</tr>
<tr>
<td width="175"> </td>
</tr>
<tr>
<td width="100%" height="10" colspan="2"></td>
</tr>
</table>
Heres my problem, on the 3rd row I have 2 columns. The second column spans 3 rows. This works fine with no content in that column.
However if I add content to the second column of row 3 then the 3 rows that it spans do not keep their height sizes.
What I would like to happen is that row 1 and 2 of the spanned rows keep their heights, where as the 3rd row can grow in height.
I hope this makes sense, if not let me know and i'll try and explain better.
Greg Palmer
Free Software for Adminstrators