Dreamweaver - Fixed Website Background?

Design Forums > Web Design Forums > Web Coding & Development > Dreamweaver - Fixed Website Background?



Reply
 
LinkBack Thread Tools Display Modes
pimpsqueak is offline
H.T.T.E.
2 Posts
USA
Dreamweaver - Fixed Website Background?

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.

  Quote Post 1 Posted 08-02-10
Alex L is offline
Member
79 Posts
England
In your css file, add this line:

Code:
background-attachment: fixed;
under your background.

  Quote Post 2 Posted 08-02-10
pimpsqueak is offline
H.T.T.E.
2 Posts
USA
lol thanks, im a major rookie

  Quote Post 3 Posted 08-02-10
glenwheeler is offline
Mclaren Mercedes
2,310 Posts
North East, UK
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 :/



Mr Glen A Wheeler

http://www.glenwheeler.co.uk
  Quote Post 4 Posted 08-02-10
blacketdet is offline
Freelance
4 Posts
Indonesia
U can Use CSS

  Quote Post 5 Posted 09-02-10
Harry is offline
Web Developer
1,553 Posts
Leeds, UK
O rly?


  Quote Post 6 Posted 09-02-10
Alex L is offline
Member
79 Posts
England
Quote:
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.

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

  Quote Post 7 Posted 09-02-10
glenwheeler is offline
Mclaren Mercedes
2,310 Posts
North East, UK
Quote:
Originally Posted by Harry View Post
O rly?
Yes really... lol



Mr Glen A Wheeler

http://www.glenwheeler.co.uk
  Quote Post 8 Posted 09-02-10
 
Reply

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



vBulletin® Copyright ©2000-2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0