Board Logo

Menu Positioning incorrect in nested tables.
onpgirlings - 10/3/2006 at 06:47 AM

If we put our menu in it's own table it works fine. However, if we put it in a cell below another object, or nest it inside another table, the position is incorrect. Well, it works ok in Firefox but not Internet Explorer. It seems as though the offset top isn't being calculated correctly in IE.

E.g. this works fine:

Code:

<BODY>
<div align="center">
<table>
<tr>
<td>
--Menu javascript code here--
</td>
</tr>
</table>
</body>


As does this:
Code:

<body>
<div align="center">
<table>
<tr>
<td>
--Some Picture goes here ---
</td>
</tr>
</table>
<table>
<tr>
<td>
--Menu Code Goes Here--
</td>
</tr>
</table>
</BODY>


But in a nested table it doesn't line up correctly:

Code:

<body>
<div align="center">
<table>
<tr>
<td>
<table>
<tr>
<td>
--Some Picture goes here ---
</td>
</tr>
</table>
<table>
<tr>
<td>
--Menu Code Goes Here--
</td>
</tr>
</table>
</td>
</tr>
</table>

</BODY>



Any ideas how to fix it? We've tried setting table and cell heights/cell paddings etc but still doesnt work correctly.

Thanks.


tigra - 10/3/2006 at 02:01 PM

Tried that and menu positions fine. Submit a support ticket attaching the zip package with all the files needed to reproduce the problem and we'll take a look.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/