可参考我的代码
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>混合布局编程挑战</title>
<style type="text/css">
body{ margin:0; padding:0; font-size:30px; color:#fff}
.top{ height: 100px; background: #CCCCCC;}
div{ text-align:center; line-height:50px}
.main{ margin: 0 auto;}
.left{width: 340px; height: 500px; background: #BFEFFF; float: left;}
.right{width: 900px; height: 500px; background: #B4EEB4; float: right;}
.fill{ background:#CD0000; height: 500px;}
.foot{ height: 100px; background: #EEC900; clear: both;}
</style>
</head>
<body>
<div class="top">top</div>
<div class="main">
<div class="right">right</div>
<div class="left">left</div>
</div>
<div class="fill"></div>
<div class="foot">foot</div>
</body>
</html>