CSS: Fixed background images taller than the browser viewport
- by jj_aa
I've got a large photo (940x1210) as the background image for a #page div which wraps around all the content on a site. Since the photo is a headshot, it looks pretty silly tiled, so I've set it not to repeat, and positioned it at 0,0.
When the content enclosed by #page is taller than 1210px and the background image is set to scroll, the photo…