好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

如何用CSS进行网页布局_html/css_WEB-ITnose

1、单列布局






布局

body{margin: 0;padding: 0;}
.top{height: 100px;background: #ccc;}
.main{width: 800px;height: 300px;background: #fcc;margin: 0 auto;}
.footer{width: 800px;height: 100px;background: #9cf;margin: 0 auto;}



查看更多关于如何用CSS进行网页布局_html/css_WEB-ITnose的详细内容...

  阅读:34次