Member Offer
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dreamweaver - Fixed Website Background?

Discussion in 'Website Design Forum:' started by pimpsqueak, Feb 8, 2010.

  1. pimpsqueak

    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:
  2. Alex L

    Alex L Senior Member

    In your css file, add this line:

    background-attachment: fixed;
    under your background.
  3. pimpsqueak

    pimpsqueak Junior Member

    lol thanks, im a major rookie
  4. glenwheeler

    glenwheeler Senior Member

    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 :/
  5. blacketdet

    blacketdet Junior Member

    U can Use CSS
  6. Harry

    Harry Senior Member

    O rly?
  7. Alex L

    Alex L Senior Member

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

    Just a guess.
  8. glenwheeler

    glenwheeler Senior Member

    Yes really...:rolleyes: lol

Share This Page