两个常规的页面布局方式
表格布局 html: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>表格布局</title> <link rel="stylesheet" type="text/css" href="css/bgStyle.css" /> </head> <body> <header></header> <nav></nav> <div class="content"> <div class="tablecontent"> <div class="tablerow"> <section id="left"> 杂乱无章 </section> <section id="main"> 杂乱无章 </section> <aside id="right"> 杂乱无章 </aside> </div> </div> </div> <div class="foot"> <footer></footer> </div> </body> </html> css: * { margin: 0px; padding: 0px; } html, body { height: 100%; overflow: hidden; background-color: gray; } header { height: 100px; background