1 answer

You need to set a fixed height on the container div, and a min-height (or fixed) on the contained divs, otherwise the container will expand vertically to accommodate the extra content, as you have found.

Thanks, that does make sense, unfortunately ill have to come up with a different workaround, as the inner .house divs are generated dynamically, so i can never be sure of the height. — Richard Crawley about 9 years ago