views:

17

answers:

1

I have a webpage with a static CSS background, but the content is longer than the height of the image. This causes whitespace at the bottom after the image ends. How can I make the image scroll along with the view of the user's screen?

Thanks in advance!

A: 
background-attachment: fixed;

See http://meyerweb.com/eric/css/edge/complexspiral/demo.html for a more detailed example.

codeelegance
That did it. Thanks!
Andrei Korchagin