Home > CSS > Make two div equal height

<style type="text/css">
.container {overflow:hidden}
.container div {float:left; margin-bottom:-1000px; padding-bottom:1000px}
</style>

<div class="container">
<div></div>
<div></div>
</div>

Reference: http://www.ejeliot.com/blog/61

Jsfiddle: http://jsfiddle.net/hkalan/fWRm4/



Flag Counter