zoukankan      html  css  js  c++  java
  • 双飞翼布局实例

    <!DOCTYPEhtml>

    <htmllang="en">

    <head>

        <meta charset="UTF-8">

        <style>

            #center_div,#left_div,#right_div{

                text-align: center;

            }

            .column{

                float: left;

            }

            #container{

                100%;

            }

            #center_div{

                100%;

                background-color: blue;

            }

            #left_div{

                300px;

                margin-left: -100%;

                background-color: green;

            }

            #right_div{

                200px;

                margin-left: -200px;

                background-color: yellow;

            }

            #center_div  #mainWrap{

                margin-left: 300px;

                margin-right: 200px;

            }

        </style>

        <title>双飞翼</title>

    </head>

    <body>

    <divid="container">

        <div id="center_div"class="column">

            <div id="mainWrap">主要内容</div></div>

        <div id="left_div"class="column">左边的div</div>

        <div id="right_div"class="column">右边的div</div>

    </div>

    </body>

    </html>

  • 相关阅读:
    iOS数据持久化的方式
    Runtime
    <02>
    <01>
    <02>
    UIActivityIndicatorView
    <01>数据存储
    UI<10>
    UI<09>
    UI<08>
  • 原文地址:https://www.cnblogs.com/liuyuancheng/p/7252645.html
Copyright © 2011-2022 走看看