On this link you can see that the page has a background image, but when you scroll, the background image does not repeat down the page.
How do I write the CSS so that the background-image covers the whole page (if the content does not fill one window), but continues down through the page if it is larger than one window.
Take the css height off the class mainbg, setting the body to 100% and setting a child div to 100% height will make its height essentially the height of the browser viewport