• Welcome to ZD Forums! You must create an account and log in to see and participate in the Shoutbox chat on this main index page.

Any Ideas on How to Do This? (HTML/CSS/JAVASCRIPT)

Blue Canary

Your Friendly Neighborhood S***poster
Joined
Feb 11, 2012
Location
Right Behind You
Gender
Trash Can
So, I'm trying to use a background image for something, and I don't want to repeat it. However, if I fix it in place, then the full image will never be shown. Any idea on how to make it scroll to the bottom of the image, and then stop scrolling?
 
Joined
Oct 20, 2008
Gender
Timecube
Sounds like you just need

Code:
background-attachment: fixed;

Though you could try something like,

Code:
background: url('your_image.path') fixed no-repeat;
. Might also want to look into the background-size property as well.
 

Users who are viewing this thread

Top Bottom