<div class="main"> <div class="leftbar"></div> <div class="middle"></div> <div class="rightbar"></div> </div>
.main{ margin-top: 5px; width:960px; margin:5px auto; padding:0px;}.main .leftbar{ width:235px; float:left; margin-left: 5px; overflow: hidden;}.main .middle{ width:450px; float:left; margin-left:15px; margin-right:15px; background-color: #F2F2F2; overflow: hidden;}.main .rightbar{ float:right; width:230px; margin-right:5px; overflow: hidden;}
Because under IE, the border is calculated as width, and floating elements may be doubled. Its width cannot be set to 3 DIVs equal to 960
IE6 browser has a double margin value BUG for floating elements. The solution is to set the display:inline; style of these three floating elements:
.leftbar, .middle, .rightbar { display:inline; }