SpencerDav
03-03-2008, 06:35 AM
Hi,
I have a small problem with relative positioning an image using DIVs.
I have a three column layout, and want an image in the middle column lifted up slightly.
When I put it in and use this CSS code:
.welcomeimage
{
position:relative;
top: -100px;
left: -65px;
}
it all works perfectly, the image moves up and slightly right, there is still space left below it. If I was to move it up 400 pixels, there is still the space left behind?
Im sure there is an easy solution for this, but as you can tell im a CSS learner!
Thanks for any help!
Spence
I have a small problem with relative positioning an image using DIVs.
I have a three column layout, and want an image in the middle column lifted up slightly.
When I put it in and use this CSS code:
.welcomeimage
{
position:relative;
top: -100px;
left: -65px;
}
it all works perfectly, the image moves up and slightly right, there is still space left below it. If I was to move it up 400 pixels, there is still the space left behind?
Im sure there is an easy solution for this, but as you can tell im a CSS learner!
Thanks for any help!
Spence