<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>div+css</title> <style type="text/css"> .out{ border:solid 1px red; 960px; height: 400px; margin: 0 auto; } .left{ 300px; height: 400px; background-color: red; float: left; } .right{ 660px; height: 400px; background-color: blue ; float: left; } .rup{ 660px; height: 200px; background-color: yellow; } </style> </head> <body> <div class="out"> <div class="left"></div> <div class="right"> <div class="rup"></div> <div class="down"></div> </div> </div> </body> </html>