views:

52

answers:

1

I'd like to make it so the background image stays stagnant/put while the website scrolls up and down. How do I go about doing this?

+6  A: 

background-attachment: fixed; should do it i believe.

prodigitalson
Note that this won't work correctly with IE6, in case that matters to you.
Corey
@Corey: Only if applying to an element other than `body` or `html`... But i suppose that could be the case here.
prodigitalson
Hmm, I seem to remember having issues even on a `body` tag... but the point is, stop using IE6.
Corey