simes1972
09-06-2007, 12:07 PM
Hi all,
I'm trying to put a table on top of another table, so that the cells overlap.
What's happening though is that the table in the layer, is changing the size of the parent table, as if it wasn't in a layer.
The html that's causing the problem goes something like this:
<table>
<tr>
<td><img src='flower1.jpg' width=60 height=60></td>
<td><img src='flower2.jpg' width=60 height=60></td>
</tr>
<tr>
<td><img src='flower3.jpg' width=60 height=60></td>
<td>
<div style="position:relative; top:-30; left:-30; z-index:3;">
<table cellpadding=0 cellspacing=0 border=0>
<tr><td><img src='flower4.jpg' width=40 height=40></td><td><img src='flower5.jpg' width=40 height=40></td></tr>
<tr><td><img src='flower6.jpg' width=40 height=40></td><td><img src='flower7.jpg' width=40 height=40></td></tr>
</table>
</div>
</td>
</tr>
</table>
The above is online here:
http://www.picturesudoku.com/test2.htm
The dynamic page might ilustrate the problem might be clearer here:
http://www.picturesudoku.com/test.htm
I'd be very grateful if anyone can point me towards a solution to stop resizing the table.
Thanks,
Simon
I'm trying to put a table on top of another table, so that the cells overlap.
What's happening though is that the table in the layer, is changing the size of the parent table, as if it wasn't in a layer.
The html that's causing the problem goes something like this:
<table>
<tr>
<td><img src='flower1.jpg' width=60 height=60></td>
<td><img src='flower2.jpg' width=60 height=60></td>
</tr>
<tr>
<td><img src='flower3.jpg' width=60 height=60></td>
<td>
<div style="position:relative; top:-30; left:-30; z-index:3;">
<table cellpadding=0 cellspacing=0 border=0>
<tr><td><img src='flower4.jpg' width=40 height=40></td><td><img src='flower5.jpg' width=40 height=40></td></tr>
<tr><td><img src='flower6.jpg' width=40 height=40></td><td><img src='flower7.jpg' width=40 height=40></td></tr>
</table>
</div>
</td>
</tr>
</table>
The above is online here:
http://www.picturesudoku.com/test2.htm
The dynamic page might ilustrate the problem might be clearer here:
http://www.picturesudoku.com/test.htm
I'd be very grateful if anyone can point me towards a solution to stop resizing the table.
Thanks,
Simon