圣杯与双飞翼布局
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>双飞翼圣杯</title>
<style type="text/css">
*{
margin: 0;
padding: 0;
border: 0;
}
.a{
float: left;
}
#wrap{
overflow: hidden;
}
#center{
100%;
height: 500px;
background :#f40;
}
#left{
20%;
height: 500px;
background: green;
margin-left: -100%;
}
#right{
30%;
height: 500px;
background: #ccc;
margin-left: -30%;
}
.header,.footer{
100%;
background: #666;
height:30px;
clear:both;
}
.bd{
padding-left:150px;
padding-right:190px;
height: 200px;
}
.left{
background: #E79F6D;
150px;
float:left;
margin-left:-100%;
position: relative;
left:-150px;
height: 100%;
}
.main{
background: #D6D6D6;
100%;
float:left;
height: 100%;
}
.right{
background: #77BBDD;
190px;
float:left;
margin-left:-190px;
position:relative;
right:-190px;
height: 100%;
}
</style>
</head>
<body>
<!-- 双飞翼布局 -->
<div >Footer</div>
</body>
</html>