Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<style type="text/css">
.deck {overflow:hidden}
.deck img {position:relative; float:left; width:225px; height:400px}
.deck img + img {margin-left: -200px;}
.deck img:hover {z-index:9999; border:1px solid red; background: pink} </style>
</head>
<body>
<div class="deck">
<img src="#" alt="testimage">
<img src="#" alt="testimage">
<img src="#" alt="testimage">
<img src="#" alt="testimage">
<img src="#" alt="testimage">
<img src="#" alt="testimage">
</div>
</body>
</html>
You will need to do the math to that the overlap causes the images to total 800px, but this should be the effect you were after.
Bookmarks