CSS: auto height on containing div, 100% height on background div inside containing div
问题 The problem, is that I have a content div which stretches its container height-wise (container and content div have auto height). I want the background container, which is a sibling div of the content div to stretch to fill the container. The background container contains divs to break the background into chunks. The background and container divs have 100% width, the content container doesn't. HTML: <div id="container"> <div id="content"> Some long content here .. </div> <div id=