- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello,
I’m trying to design a site where the background image remains frozen while scrolling….. When you move the sliders the content scrolls over the background….. For clarification please visit this site http://www.unicoioutfitters.com/index.shtml
If you know how to accomplish this please give me some direction….
Thanks,
Mike
Looks like you’ve already achieved that? I don’t see the background image moving when you scroll.
If you DO want it to scroll just add, background-attachment: scroll
Hey Soap,
Sorry…. That’s not my site; it’s the programming I’m trying to duplicate. Can I use the same command and add “no scroll”??? I’ll try it….
Thanks
This code kind of works…..except..the now my background pic will not display at all when I scroll to the bottom… Any thoughts??
background-repeat: no-repeat;
background-position: 0 0;
background-attachment: fixed;
No just use
background-attachment:fixed;