I am working with the following HTML code snippet:
<div id="content">
<div id="leftcol">
<p>Lorem Ipsum</p>
</div>
</div>
along with this CSS styling:
#content {
width: 780px;
padding: 10px;
position: relative;
background: #8b847d;
}
#leftcol {
width: 500px;
position: absolute;
}
I want to make it so that when the height of 'leftcol' increases, the height of 'content' will automatically adjust accordingly. You can view an example in this fiddle: