Have a look at this:
<html>
<head>
<style>
#outer{background:#FFAAAA;margin-left:3px;margin-top:2px;margin-right:3px;border:1px solid #777777;}
#paneleft{float:right;width:28%;margin-left:4px;}
.configmenu {margin-left:10px;margin-right:50px; width:100%;padding-bottom:20px;border:1px solid #999999; font-size:8pt;background-color:#FFFFFF;}
</style>
</head>
<body>
<div id="outer">
<div id="paneleft">
<div class='configmenu'>
Introduction
<br/>
</div>
</div>
</div>
</body>
</html>
The 'paneleft' block is outside the 'outer' block. If I take away the float property in the css 'paneleft' id then the 'paneleft' block goes inside the 'outer' block.
Why is this?
<html>
<head>
<style>
#outer{background:#FFAAAA;margin-left:3px;margin-top:2px;margin-right:3px;border:1px solid #777777;}
#paneleft{float:right;width:28%;margin-left:4px;}
.configmenu {margin-left:10px;margin-right:50px; width:100%;padding-bottom:20px;border:1px solid #999999; font-size:8pt;background-color:#FFFFFF;}
</style>
</head>
<body>
<div id="outer">
<div id="paneleft">
<div class='configmenu'>
Introduction
<br/>
</div>
</div>
</div>
</body>
</html>
The 'paneleft' block is outside the 'outer' block. If I take away the float property in the css 'paneleft' id then the 'paneleft' block goes inside the 'outer' block.
Why is this?