I have this simple html structure:
<div id="mainbody">
<div id="main">
...
</div>
<div id="left">
...
</div>
</div>
<div id="footer">
...
</div>
The div "mainbody" has position:relative. The div "left" has absolute position at the left side of the page and dynamic height. The div "main" floats left at the right of div "left".
CSS:
#mainbody {
position:relative;
}
#left {
position:absolute;
width:250px;
}
#main {
float: left;
margin-left: 260px;
width:80%;
}
PROBLEM: The height of div "left" is ignored and the div "footer" starts where the div "main" ends even though the div "left" has bigger height than div "main".