.top{height:100px;background:#ccc;}
.main{height:800px;background:red;}
.left{height:800px;width:200px;position:absolute;top:100px;left:0;background:blue;}
.right{height:800px;margin:0 0 0 200px;background:green;}
.foot{height:100px;background:orange;}
.main{height:800px;background:red;}
.left{height:800px;width:200px;position:absolute;top:100px;left:0;background:blue;}
.right{height:800px;margin:0 0 0 200px;background:green;}
.foot{height:100px;background:orange;}
.left{ width:200px; height:600px; background:#ccc; position:absolute;【任务1】; left:0; top:0}
.main{ height:600px; margin:0 310px 0 210px;【任务2】; background:#9CF;font-size:10px;}
.right{ height:600px; width:300px; position:absolute; top:0;right:0; 【任务3】; background:#FCC;}
实现不了的任务二后面加个分号,字号随意
.main{ height:600px; margin:0 310px 0 210px;【任务2】; background:#9CF;font-size:10px;}
.right{ height:600px; width:300px; position:absolute; top:0;right:0; 【任务3】; background:#FCC;}
实现不了的任务二后面加个分号,字号随意
div{ text-align:center; line-height:50px}
.main{ width:960px; height:600px; margin:0px 10px 10px 0px}
.left{ width:280px; height:600px; background:#ccc; float:left;}/*左浮动样式*/
.right{;width:650px; height:600px; background:#FCC; float:left;margin-left:20px;}/*右浮动样式*/
</style>
</head>
.main{ width:960px; height:600px; margin:0px 10px 10px 0px}
.left{ width:280px; height:600px; background:#ccc; float:left;}/*左浮动样式*/
.right{;width:650px; height:600px; background:#FCC; float:left;margin-left:20px;}/*右浮动样式*/
</style>
</head>