I need to position a div relative to a table cell. The div needs to be 30 pixels beneath the table, aligned with the left side of the second column. So I want to get the cow div, just below the table cell moo
The table and div have been simplified, both table and div are positioned using css:
<table><tr>
<td class=”labelStyle”>Status</td>
<td><input id=”moo” blah-blah</td>
</tr></table>
<div class=”opButtons” id=”cow”> <a onclick=”createOperator()”>Apply</a></div>
I’ve looked at a function that returns the upper left of moo and then tried to position cow based on it, but I think I’m using five different approaches and they are all either wrong or interfering with each other and seem to be getting nowhere.
Viking