#box div { width:50px; height:50px; background:red; float:left; margin-top:50px; margin-left:20px; text-align:center; font-size:30px; color:#fff; line-height:50px; }