Correction status:qualified
Teacher's comments:
实例 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>经典的三列双飞翼布局</title> <style type="text/css"> .header, .footer{ width:100%; height:60px; background-color:lightgray; } .footer{ clear:both; } .content{ width:1000px; min-height: 100%; background-color:grey; margin:auto; text-align:center; line-height:60px; } .container{ width:1000px; margin:auto; background-color:yellow; overflow:hidden; } .wrap{ width:100%; float:left; background-color: lightblue; } .wrap .main{ min-height:600px; background-color:wheat; } .left{ width:200px; float:left; background-color: lightblue; } .right{ width:200px; float:left; background-color: lightgreen; } </style> </head> <div class="header"> <div class="content">网站头部</div> </div> <div class="container"> <div class="wrap"> <div class="main">中间</div> </div> <div class="left">左侧</div> <div class="right">右侧</div> </div> <div class="footer"> <div class="content">网站底部</div> </div> </body> </html> 运行实例 » 点击 "运行实例" 按钮查看在线实例