<div id="main">
<div id="left">
news feed goes here
</div>
<div id="right">
another news feed ges here
</div>
<div style="clear:both;"></div>
</div>
Suppose I have a container “main”, and I have 2 columns. Both columns are float:left;.
When people click “load more” on the left news feed column, of course it will expand the height of that column because we load more content. But I want the right column to also expand with it. In other words, I want the “right” column to be 100% height of main, always.
How can I do that? Do I se the “right” column’s height to be 100%? or what?
duplicate or not.. here’s a fiddle to give you an idea how you could do this
http://jsfiddle.net/pixelass/uAur5/
HTML
CSS
jQuery