Hello everybody,
I'm working on a site which uses divs.
My content in coming into a div with an overflow-y: scroll.
Now I want my background of that div to stay on the same place so I used background-attachement: fixed; which does the trick ofcourse.
However Since my page is quite long, it also automatically has a scrollbar on the side of the browser, when I move that one down, the background of my div doesn't go along, it stays fixed. Anybody any idea how I can solve it so that when the user scrolls inside the Div, the background remains fixed and when a user scrolls the page in total, the background comes along?
Check out http://www.lookandlist en.be/sites/boldgraphics/content/about.htm to see the problem.
Thanks,
Cainnech
I'm working on a site which uses divs.
My content in coming into a div with an overflow-y: scroll.
Now I want my background of that div to stay on the same place so I used background-attachement: fixed; which does the trick ofcourse.
However Since my page is quite long, it also automatically has a scrollbar on the side of the browser, when I move that one down, the background of my div doesn't go along, it stays fixed. Anybody any idea how I can solve it so that when the user scrolls inside the Div, the background remains fixed and when a user scrolls the page in total, the background comes along?
Check out http://www.lookandlist en.be/sites/boldgraphics/content/about.htm to see the problem.
Thanks,
Cainnech
Comment