Well the basic idea is to get the wrapper automaticaly expand height depending on the height of the children. The problem though is that the menu child has a float attr, and if it's bigger than content - it's simply sticking out, this you can see by loading the code. I don't like playing with relative position, table-cells.. And if I set float:left on the wrapper it actually bugs my whole markup for some reason. Is there any other way I can do this?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style>
div.wrap{
background-color:grey;
padding:5px;
}
div.left{
background-color:orange;
float:left;
width:200px;
height:400px;
}
div.content{
margin-left:200px;
height:200px;
background-color:white;
}
</style>
</head>
<body>
<div class="wrap">
<div class="left">
Menu
</div>
<div class="content">
Text
</div>
</div>
</body>
</html>