/ Published in: CSS

equal height columns without any javascript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.wrapper { overflow:hidden; background: blue; height: 200px; width: 200px; float: left; } .column { margin-bottom: -2000px; padding-bottom: 2000px; width: 50px; display: inline; float: left; } #column1 { background: red; } #column2 { background: green; float: right; }
Comments
