PDA

View Full Version : Make Background 'Static'



FixUpClothing
03-01-2011, 09:09 PM
Hello

I am making a website and i have added a background by right clicking and going to page properties then adding a background that is the same width as my page but if I scroll down, my background is copied as i scroll down. What i want is for the background to stay put and only the content on the page scrolls down.

Can someone help me please?

Thanks
Regards,

navaldesign
03-02-2011, 09:34 PM
Simple solution!

Go in Page HTML and add the following code in the Inside Body of the page HTML:

background-attachment: fixed;
background-repeat: no-repeat;
..