Forum:Scrolling wiki background with "center" property

What I'm trying to do is to have a background image that is centered and aligned to the top of the browser.

The following code is what I naturally tried to use:


 * body {
 * background: color url center no-repeat;
 * background-attachment: scroll;
 * }

That worked well until I realized that it centers the image vertically as well, so a very long page will display the background somewhere way below...

If I use fixed instead of scrolling, it seems to be working properly, but I don't want it to be fixed... Is there a way to do it?

-- 10:10, December 16, 2011 (UTC)


 * Maybe  helps? See  -- Weas-El  ✉  10:15, December 16, 2011 (UTC)


 * That solved it, thanks :) Looks like using just "center" with no vertical keyword was what messed it up. -- 10:29, December 16, 2011 (UTC)