Blogger Information
Blog 32
fans 0
comment 0
visits 21462
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
3月27作业
inhylei
Original
622 people have browsed it

代码

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>双飞翼布局</title>
<style type="text/css">
.header, .footer {
width: 100%;
height: 70px;
background-color: lightgray;
}
.content {
width: 1000px;
height: 100%;
background-color: lightgreen;
margin: auto;
}
        .container {
         width: 1000px;
         margin: auto;
         background-color: green;
         min-height: 650px;
         overflow: hidden;

        }
        .wrap {
         width: 100%;
         float: left;
         background-color: lightblue;

        }
        .main {
         min-height: 650px;
         background-color: blue;
         margin: 0 200px;
        }
        .left {
         width: 200px;
         min-height: 650px;
         background-color: cyan;
         float: left;
         margin-left: -100%;
        }
        .right {
         width: 200px;
         min-height: 650px;
         background-color: skyblue;
         float: left;
         margin-left: -200px;
        }
</style>
</head>
<body>

<!-- header -->
<div>
<div>
header
</div>
</div>
<!-- container -->
        <div>
         <div>
         <div>main</div>
         </div>
         <div>left</div>
         <div>right</div>
        </div>
     

<!-- footer -->
<div>
<div>
content
</div>
</div>
</body>
</html>

手抄代码


QQ图片20180328151230.jpg


Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post