PDA

View Full Version : What's the code for this?



Doug
07-06-2005, 11:14 PM
I want to set it so the image I use for my background on my site stays put when the user scrolls the page up and down. I was wondering what the code was for this? If I wasn't quite clear, I want the text to scroll while the background doesn't move at all.

Cutter
07-06-2005, 11:23 PM
Try this:

<body background ="bg.gif" bgproperties="fixed">

Cutter
07-06-2005, 11:24 PM
If you want to do it with CSS try this:

background-attachment: fixed;

Doug
07-06-2005, 11:42 PM
Thanks it worked, I appreciate the help.