PDA

View Full Version : how do you keep the background in the same place


VanHype
04-13-2007, 09:19 PM
i have an image i need to use as the background and need it to stay in the same place, so that when you scroll down it is still on the screen, i have found an example of what i need, but cant figure out how to do it...

like in the link below i need to have my image in the same place at all times as the blue logo here...

http://www.volunteerscentregreenwich.org.uk/need.htm


thanks

mysiteonweb
05-14-2007, 07:36 PM
Put the following in head tag. Replace the image name with your image name. <style type="text/css">
body
{
background-image: url('image.gif');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center
}
</style>