码迷,mamicode.com
首页 > 其他好文 > 详细

页面结构

时间:2016-11-03 22:51:09      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:order   span   class   head   art   clear   doctype   style   article   

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>页面结构</title>
    <style>
        header, nav, article, footer{
            border: solid 1px #666;
            padding: 5px;
        }
        header{
            width: 500px;
        }
        nav{
            float: left;
            width: 60px;
            height: 100px;
        }
        article{
            float: left;
            width: 428px;
            height: 100px;
        }
        footer{
            clear: both;
            width: 500px;
        }
    </style>
</head>
<body>
    <header>
        头部部分
    </header>
    <nav>
        菜单导航部分
    </nav>
    <article>
        内容部分
    </article>
    <footer>
        底部部分
    </footer>
</body>
</html>

 

页面结构

标签:order   span   class   head   art   clear   doctype   style   article   

原文地址:http://www.cnblogs.com/xiaoyumi666/p/6028560.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!