HTML div Frame

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        body{
            margin: 0 auto;
            width: 100%;
        }
        .container{
            min-width: 900px;
            border: 1px solid #FA1111;
        }
        .top{
            width: 100%;
            height: 70px;
            border: 1px solid #14F613;
        }
        .minframe{
            width: 100%;
            display: inline;
            background-color: #ACA7A7;
        }
        .menu{
            float: left;    
            height: 600px;
            width: 150px;
            border: 1px solid #0C21F9;
        }
        .right{
            height: 600px;
            border: 1px solid #FD010F;
        }
        .footer{
            height: 50px;
            text-align: center;
            border: 1px solid #030303;
        }

    </style>
</head>
<body>
    <div class="container">
        <div class="top"> this is banner !!</div>
        <div class="minframe">
            <div class="menu"> menu</div>
            <div class="right">content</div>
        </div>
        
        <div class="footer">footer</div>
    </div>
</body>
</html>


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章