[jQuery] image position question

[jQuery] image position question

Hi all,
I know there has got to be an easy way to do thing but I'm having
trouble figuring it out.
I have a div that has an image in it and this image is positioned
relative to the div based on what I want to look at and this works great
so far.
Now I want to overlay another transparent image over the first image. I
know where the second image should be positioned relative the the 1st
image. I can't figure out how to set top and left of the 2nd image to
position it over the first. I know I need z-index set higher, but the
positioning thing I get it to work. I started with:
<div id="mymap" style="overflow: hidden; height:300; width:300;">
<img class="map" style="z-index: 10;" />
<img class="cross" style="z-index: 100;" />
</div>
I then set the position of the image with jQuery. But this structure
seem problematic as the 2nd image is positioned relative to the 1st
image and not relative to its parent.
-Steve
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/