ss
< img src="images/3510.png" width="272" height="300" />
tiaoshi: Used during debugging, it can be selectively deleted.
#main{margin:12px 0px 0px 0px;width:100%;height:600px;}#main-left{ width:660px; height:553px; padding:auto; margin:auto; background-color:#cccccc;/*tiaoshi*/ float:left;}#blank{ /*tiaoshi*/ width:10px; height:100px; float:left; margin:auto; background-color:red;/*tiaoshi*/}#main-right1{ width:300px; height:100px; padding:auto; margin:auto; background-color:blue;/*tiaoshi*/}
<div id="main"> <div id="main-left">ss</div> <div id="blank">s</div><!--tiaoshi--> <div id="main-right1">ss</div> </div>
You try this: add display:block to main-left; add float:right to main-right1;
You add float:left to #main-right1, Or reduce the width of the two divs.