surreal5335
02-19-2011, 04:45 AM
I cant get an image to overlap another.
Here is my html:
<div class="item-image-big" >
<a href="image.png">
<img alt="title" src="image.png" width="356" />
<img src="icon.png" class="full-size-image" alt="Expand Image" /></a>
</div>
here is my css for the two classes:
.item-image-big {
position: relative;
display: inline;
margin: 3px 0 12px;
width: 356px;
}
.full-size-image {
position: relative;
right:5px;
bottom:0px;
z-index: 1;
}
The icon.png I am trying to appear bottom right ontop of the other image.
Thanks a lot for your help
Here is my html:
<div class="item-image-big" >
<a href="image.png">
<img alt="title" src="image.png" width="356" />
<img src="icon.png" class="full-size-image" alt="Expand Image" /></a>
</div>
here is my css for the two classes:
.item-image-big {
position: relative;
display: inline;
margin: 3px 0 12px;
width: 356px;
}
.full-size-image {
position: relative;
right:5px;
bottom:0px;
z-index: 1;
}
The icon.png I am trying to appear bottom right ontop of the other image.
Thanks a lot for your help