 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
infekt-work
Joined: 29 Jun 2005 Posts: 4
|
Posted: Thu Jun 30, 2005 8:44 am rowspan td height problems IE/Firefox |
|
|
|
There has got to be a way to make these td's have a fixed height in IE.. the overall height is determined by the varying content in the right cell, therefore also requiring cell "b" to have a variable height.
Here is the code and image of the different results created by three different browsers. Firefox is the only one giving me the correct result I am looking for. I have tried many different things but cannot get the result I am looking for. If anyone could help out it'd be SO greatly appreciated.
Thanks,
infekt |
|
lauxa
Joined: 10 Jul 2005 Posts: 2
|
Posted: Sun Jul 10, 2005 12:03 pm |
|
|
|
I just struggled with this for several hours, and have decided that when using "rowspan" or "colspan" IE just completely ignores the height suggestions.
Here's something that works in IE, but unfortunately Netscape ignores the "height=100%" attribute so it doesn't work there. Mabye you can display different code based on the browser somehow...
<!---- outer table has 1 row, 2 columns ---->
<table border="1">
<tr>
<td valign="top">
<!---- inner table has 3 rows, 1 column ---->
<table border="1" height="100%">
<tr>
<td height="20">a</td>
</tr>
<tr>
<td>b</td>
</tr>
<tr>
<td height="20">c</td>
</tr>
</table>
</td>
<td background-color="#696969" height="200">
<br>
</td>
</tr>
</table>
On my site I didn't need the footer cell, so it was easier. I'd love to see someone implement this in CSS, but it's beyond my abilities.
Good luck. |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|