For overlapping images, the main thing you'll want to use is z-index, it's set to 0 as default for all elements, so if you wanted to overlap two images you could do it like so:
CSS:
Code:
.overlap{
z-index:1;
position:relative;
left:-65px;
top:-20px;
border:none;
}
.overlap:hover{
opacity:0.85;
-moz-opacity:0.85;
-khtml-opacity:0.85;
}
You can leave out the transparency if you want (doesn't work in IE), but that is basically how it would work, then this would be the HTML:
Code:
<img src="images/image1.jpg">
<a href="#">
<img class="overlap" src="images/overlap.gif">
</a>
Hope this helps, there are probably other ways to do this, and you'll need to modify the positioning to suit your images size.
Jack.
Bookmarks