For the application I'm working on, I need columns with the same height. I decided to use CSS to style my columns as a table. Thus, the height of each column is indeed the maximum height of the columns.
See an example here:
http://jsfiddle.net/roelvd/GXe9m/
Now the height of each column is really 100% in every browser. Element(.container in my case) directly in each column should also be 100% . This works great in both Firefox and Chrome; but not in IE10 (and most likely older versions of the ID).
HTML:
<div id="wrapper" class="table">
<div class="row">
<div class="column" style="width: 20%">
<div class="container empty"></div>
</div>
<div class="column" style="width: 50%">
<div class="container">
<div class="element"><p>Text</p></div>
<div class="element"><p>And more text. An complete paragraph actually.</p><p>And another one!</p></div>
<div class="element"><p>And this is even more text.</p></div>
</div>
</div>
<div class="column" style="width: 30%">
<div class="container">
<div class="element"><p>And this is even more text.</p></div>
</div>
</div>
</div>
</div>
CSS
#wrapper {
width: 600px;
}
.table {
display: table;
height: 100%;
}
.row {
display: table-row;
height: 100%;
}
.column {
display: table-cell;
height: 100%;
vertical-align: top;
}
.container {
height: 100%;
margin: 0;
}
.container.empty {
background-color: yellow;
}