August 10, 201412 yr I'm wanting the red boxes to be placed under the white box. Anyone know whats wrong? body { font-family: Arial, sans-serif; margin:0 auto; overflow-x:hidden; overflow-y:hidden; } .wrapper { background: #000066; width: 380px; height: 429px; margin: 0 auto; background-color: #00238C; } .box1{ width: 345px; height: 265px; margin: 0 16px 16px 16px; background-color: #000000; } .clear{ clear:both;} #box1inner{ width:323px; height:186px; margin: 12px; position: absolute; background-color:#FFFFFF; } #appwidgeit { height:37px; width: 120px; } #left { float: left; height: 33px; margin-left: 10px; width: 30px; background: #f70000; } #middle { float: left; height: 33px; margin-left: 10px; width: 30px; background: #f70000; } #right { float: left; height: 33px; margin-left: 10px; width: 30px; background: #f70000; } <body> <div class="wrapper"> <div class="box1"> <div id="box1inner"> </div> <div class="clear"></div> <div id="appwidgeit"> <div id="left"> </a> </div> <div id="middle"> </a> </div> <div id="right"> </a> </div><!-- appwidgeit --> </div> </div>
Create an account or sign in to comment