I currently have a setup with four divs on my asp.net page: div7_1 (parent), div4_1, div11_1, and div6_1 as child divs. Here is how it looks:
HTML
<div id="div7_1">
<div id="div4_1">
</div>
<div id="div11_1" runat="server">
</div>
<div id="div6_1">
</div>
</div>
CSS
#div4_1{display:table-cell; width:215px; min-height: 450px; top: 0px; float: left; background-color: #cc9933; text-align: center; border: 2px solid #999;}
#div6_1{display:table-cell; width: 185px; min-height: 450px; float: right; top: 0px; right: 0px; background-color: #cc9933; border: 1px solid #999;}
#div7_1{ position: relative; overflow: hidden; display: table; width: 1200px; min-height: 450px; top: 5px; left: 0px; padding-top: 0px;}
#div11_1{display:table-cell; float: left; padding-left: 5px; margin-left: 5px; width: 65%; min-height: 450px; top: 0px; left: 0px; border: 3px solid #999;}
I am looking for a way to make the parent div expand its height to match the child div with the greatest height, and adjust the other child divs accordingly. Any suggestions on how to achieve this? Also, I suspect there might be some redundant lines in the CSS, so feel free to point them out.
Thank you.