Forum Moderators: open
This example [cross-browser.com] works with IE, NN4, Gecko, and Opera.
<table align="center" border="1">
<tr>
<td>
<FONT face="Arial" color="silver" size="6"><b>discover</b></FONT>
<DIV style="Z-INDEX: 0; POSITION: relative; TOP: -30px; LEFT: 20px; "><FONT face="Arial" color="blue" size="5">Our City</FONT></DIV>
</td>
<td>
Our City - N.Z.
</td>
</tr></table>.
If you reposition the table, you will find that the layer follows the table cell around exactly.
There is one drawback with this I have found, that the browser will render the space where the DIV tag was, not where it is(i.e., minus 30px). The effect of this is that there is a blank space left at the bottom of the table cell. (If you can leave the border off, there is no visible clue to this.)
(edited by: tedster at 5:19 am (utc) on April 1, 2002)