I've got a background pattern repeating vertically on my main content section. The background has a vertical height of 39 and varies over that height, so ideally I need to size the container so that it 1.) contains all of the content on any given page and 2.) allows the background to repeat a whole number of times on any given page.
I don't think that a purely css solution is possible.