Gnomo
Registered
I could use some help with a table rendering problem I'm having with IE 5 for mac (and probably IE for windows)
When I render the following table in mozilla or safari, it looks the way it is supposed to. The top cell is 89 pixels, the middle cell sizes depending on the content in it.
However, when I call up the page with IE for mac, the top cell does not stay at the 89 pixels that it is supposed to (the cell normally contains the site logo, which is about 89 pixels tall). So, you get this ugly white gap between the logo and the beginning of the content. This seems to be related to the image in the right sidebar. Unfortunately the site's webmaster designed this layout and changing the layout is not an option.
I've tried forcing the size with CSS and hard coding the value, but unless there is a substantial amount of text in one of the two cells in the second row, the top cell hogs the screen. The problem is that I cannot guarentee the amount of info on the screen. The content cell is going to contain material that is hidden (display: none) unless you expand it.
Any ideas for a work around?
When I render the following table in mozilla or safari, it looks the way it is supposed to. The top cell is 89 pixels, the middle cell sizes depending on the content in it.
However, when I call up the page with IE for mac, the top cell does not stay at the 89 pixels that it is supposed to (the cell normally contains the site logo, which is about 89 pixels tall). So, you get this ugly white gap between the logo and the beginning of the content. This seems to be related to the image in the right sidebar. Unfortunately the site's webmaster designed this layout and changing the layout is not an option.
I've tried forcing the size with CSS and hard coding the value, but unless there is a substantial amount of text in one of the two cells in the second row, the top cell hogs the screen. The problem is that I cannot guarentee the amount of info on the screen. The content cell is going to contain material that is hidden (display: none) unless you expand it.
Any ideas for a work around?
Code:
<table width="625" border="0" cellspacing="1" cellpadding="0">
<tr>
<td width="625" height="89" colspan="2"> </td>
<td width="24" rowspan="2">
<img src="" width="18" height="500" />
</td>
</tr>
<tr>
<td width="150"> </td>
<td> </td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
</table>