div{ text-align:center; line-height:50px ; position:absolute;}
.main{ width:960px; height:600px; margin:0 auto}
.left{ width:300px; height:600px; background:#ccc; float:left;}/*左浮动样式*/
.right{ width:660px; height:600px; background:#FCC; float:right; position:relative; left:30px;}/*右浮动样式*/
.main{ width:960px; height:600px; margin:0 auto}
.left{ width:300px; height:600px; background:#ccc; float:left;}/*左浮动样式*/
.right{ width:660px; height:600px; background:#FCC; float:right; position:relative; left:30px;}/*右浮动样式*/
.top{height:100px;background:#ccc;}
.main{height:600px;margin:0 auto;position:relative; background:red;}
.left{height:600px;width:200px;background:#00f;position:absolute;left:0;top:0;}
.right{height:600px;margin:0px 0px 0px 210px; background:#1d9;}
.foot{height:50px;background:orange;}
.main{height:600px;margin:0 auto;position:relative; background:red;}
.left{height:600px;width:200px;background:#00f;position:absolute;left:0;top:0;}
.right{height:600px;margin:0px 0px 0px 210px; background:#1d9;}
.foot{height:50px;background:orange;}
.wrap{width:1000px;}
.main{background-color:red;position: relative;width:100%;height:500px;}
.left{background-color:blue;position: absolute;left:0;top:0;width:200px;height:500px;}
.right{background: darkolivegreen;position: absolute0;margin-left:210px;height: 500px;width: 79%;}
外面包裹wrap,不然右边只会出现一小条
.main{background-color:red;position: relative;width:100%;height:500px;}
.left{background-color:blue;position: absolute;left:0;top:0;width:200px;height:500px;}
.right{background: darkolivegreen;position: absolute0;margin-left:210px;height: 500px;width: 79%;}
外面包裹wrap,不然右边只会出现一小条