Forum Moderators: not2easy
<!DOCTYPE html>
<html>
<head>
<title>Floats and Flexible Column Widths Test</title>
<style type="text/css">
* { margin:0; padding:0; }
#flexColumn { float:left; width:20%; background-color:#e0e0e0; }
#fixContainer { margin-left:20%; overflow:hidden; }
#fixedColumn { float:left; width:100px; background-color:#ffffd7; }
#fillColumn { margin-left:100px; background-color:#ffd7ff; }
</style>
</head>
<body>
<div id="flexColumn">
<p>Flexible Column<br />
Flexible Column<br />
Flexible Column<br />
Flexible Column<br />
Flexible Column<br />
</p>
</div><!-- end #flexColumn -->
<div id="fixContainer">
<div id="fixedColumn">
<p>Fixed Column<br />
Fixed Column<br />
Fixed Column<br />
Fixed Column<br />
Fixed Column<br />
</p>
</div><!-- end #fixedColumn -->
<div id="fillColumn">
<p>Fill Column<br />
Fill Column<br />
Fill Column<br />
Fill Column<br />
Fill Column<br />
</p>
</div><!-- end #fillColumn -->
</div><!-- end #fixContainer -->
<p style="margin-top:1em;">And now for the rest of the story....
</p>
<br />
</body>
</html>