I have a container div box which contains three left floated divs. The left one is my left sidebar, the middle is the content area and the right one is the right sidebar. The container height depends on the largest div inside. What i want is that all three inner divs always have 100% height of the container. I tryed it with 100% height and 100% min-height but the two smaller div boxes only extend to the size of there content.
I can't set the container height to 100%, because there auch some other things above and beneath.
<div id="container">
<div id="col1"></div>
<div id="col2"></div>
<div id="col3"></div>
</div>
See jsFiddle