I'm trying to make a 2 column design (using Twitter Bootstrap) with 2 columns of equal height.
Let's take this example:
<div class="row-fluid">
<div class="span2">
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ul>
</div>
<div class="span10">
test
</div>
</div>
Because .span2
is the highest of the two columns, it makes .row-fluid
stretch to accommodate its height.
After reading this article, I was expecting that setting min-height: 100%
on .span10
would make it stretch to the full height, but it doesn't:
Why is that? Any solution to make .span10
stretch to its parent height, avoiding setting a fixed height, to keep this design flexible?