您的位置:首页 > Web前端 > CSS

css三列布局

2016-02-11 13:42 591 查看
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
body{
margin: 0;
padding: 0;
}
.left{
width: 200px;
height: 200px;
position: absolute;
left: 0;
top: 0;
background-color: #464646;
}
.middle{
height: 200px;
margin: 0 310px 0 210px;
background-color: #006486;
}
.right{
height: 200px;
width: 300px;
position: absolute;
right: 0;
top: 0;
background-color: #888888;
}
</style>
</head>
<body>
<div class="left"></div>
<div class="middle"></div>
<div class="left"></div>
</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: