PDA

View Full Version : Stretch background so it doesn't move


FredZepplin
12-23-2008, 02:08 PM
Total N00B to Dreamweaver, but very skilled digital artist.

I'd like to create a background image that doesn't move when the page scrolls down. Do I just need to create something very large or is there some CSS code to accomplish this? The image is abstract and fuzzy, so stretching wouldn't be an issue.

Corrosive
12-23-2008, 02:52 PM
Total N00B to Dreamweaver, but very skilled digital artist.

I'd like to create a background image that doesn't move when the page scrolls down. Do I just need to create something very large or is there some CSS code to accomplish this? The image is abstract and fuzzy, so stretching wouldn't be an issue.

Have you got a URL or an example of what you want on-line anywhere?

Ricky55
12-23-2008, 09:04 PM
Can't you use the fixed property?

domedia
12-23-2008, 11:27 PM
Yeah, background-position: fixed