Stephen Woodbridge schreef:
>
> <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>
>
>
>
in css to position one image on top of another you best use absolute
positioning but if you want to position it only to its parent element
you have to set it to relative. the default static position doesn't
cascade child element positioning.
<div style="position:relative">
<img style="position:absolute;left:0;top:0;z-index: 10;">
<img style="position:absolute;left:0;top:0;z-index: 100;">
</div>
Now you can use jQuery to change the z-index to make a roll-over image.
--
David Duymelinck
________________
[EMAIL PROTECTED]
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/