Posted by Herbert Meister on 11/14/07 16:27
Bone Ur wrote:
>
> Put the image in a relatively-positioned <div> inside the cell and put an
> absolutely-positioned button within that.
That's what I thought. But it seems that the relative position doesn't work.
<div id="main2" style="position:relative; top:22; left:22; width:100;
height:100; border:1 solid blue; background-color:green; overflow:
visible; visibility: visible; z-index: 2; clip: rect(2,244,244,2);">
<img src="test.jpg" alt="tset" width="50" height="49" />
</div>
But I killed my old buttons and created a backup of the old page. So
when my feature buttons isn't needed anymore I just reload my backup.
Although it would be nice to have a solution for this kind of
layer/table positioning. I once did this via javascript but it is to
slow when resizing.
[Back to original message]
|