Firstly, I am new to web development...so here goes...
(see code example below)I have a table with 5 rows and 3 columns. Basically I want the green rows to stretch when there is a lot of info in the middle (blue cell)
The red cells are to stay fixed height 295px
The problem is that when there is a lot of data in the middle (blue cell) then the red rows expand in height, and they shouldn't. Its the green cells I want to stretch. I think they (red and green cells) stretch proportionately.
To test the example - copy to html page and view. Then paste a lot of text in where it says - Paste a lot of text here - and you will see the problem.
Let me know if you need any further info, I hope I have given enough detail. The problem is in IE.
Thanks
Nickie
Code:
<table>
<tr>
<td colspan="3" bgcolor="fuchsia">top row, colspan 3</td>
</tr>
<tr>
<td height="295px" bgcolor="red">1 - 1</td>
<td rowspan="3" bgcolor="blue">2 - 1
Paste a lot of text here
</td>
<td height="295px" bgcolor="red">3 - 1</td>
</tr>
<tr>
<td height="100%" bgcolor="green">1 - 2</td>
<td height="100%" bgcolor="green">3 - 2</td>
</tr>
<tr>
<td height="295px" bgcolor="red">1 - 3</td>
<td height="295px" bgcolor="red">3 - 3</td>
</tr>
<tr>
<td colspan="3" bgcolor="fuchsia">bottom row, colspan 3</td>
</tr>