Hey. Can anyone help me do this?
How do I get an image to sit on the bottom of it’s containing div and then also bust out of the top of the div?
So if my image is 200px high, and I guess I can set my div to be 175px and my image will then just poke out the top of the div.
I also want the image to appear to overlap stuff like the top border of the div and borders of other elements in the div. (Like the chef at the bottom of the guardian’s homepage today: http://www.guardian.co.uk/) But I can’t seem to get the css to work.
My starting point::
CSS
img.flippers
{
z-index: 1;
float: right;
vertical-align: bottom;
}
#foot
{
height: 175px;
}
HTML
<div id="foot">
<img class="flippers" src="myimage.gif" />
</div>
Thanks if you can help!
