Dreamweaver - Fixed Website Background?

pimpsqueak

Junior Member
Hey, sorry if this is in the wrong section but... how can i make a web page where the background stays stationary, but a middle section with all the text and stuff scrolls down while keeping the background stationary?
im using Macromedia Dreamweaver 8, and Thanks in advance.:confused:
 
In your css file, add this line:

Code:
background-attachment: fixed;

under your background.
 
why not just background: url (images/whatever.jpg)

Never see attachments used alot these days as everything should be built inside a container etc. It's not really a good idea for text to be scrolling over funny images.

Also Alex how did you see this guys stylesheet he hasnt posted a link :/
 
why not just background: url (images/whatever.jpg)

Never see attachments used alot these days as everything should be built inside a container etc. It's not really a good idea for text to be scrolling over funny images.

It was the only way for me quickly give a solution.

Also Alex how did you see this guys stylesheet he hasnt posted a link :/

Just a guess.
 
Back
Top