Blogger Information
Blog 42
fans 3
comment 2
visits 32192
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
基本布局练习
HeartofSunny的博客
Original
709 people have browsed it

实例

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test</title>
    <style type="text/css">
        .box{
                width:100%;
            height: 60px;
            background-color: gray;
            margin:0 auto;
        }
        .box1{
            width: 1000px;
            height: 650px;
            margin: 0px auto;
        }
        .box2{
            width: 200px;
            height: 650px;
            background-color: lightblue;
            float: left;
        }
        .box3{
            width: 600px;
            height: 650px;
            background-color: lightyellow;
            float: left;
        }
        .box4{
            width: 200px;
            height: 650px;
            background-color: lightgreen;
            margin-left:800px;
        }
        .box5{
                width:100%;
            height: 60px;
            background-color: gray;
            margin:0 auto;
        }
    </style>
</head>
<body>
    <div>
        <div class="box">
            
        </div>
        <div class="box1">
            <div class="box2">
                
            </div>
            <div class="box3">
                
            </div>
            <div class="box4"> 
                
            </div>
        </div>
        <div class="box5">
            
        </div>
    </div>
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例


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