.ball { width:200px; height:200px; border-radius:50%; float:left; margin-left:40px; margin-top:200px; display:block; line-height:200px; text-align:center; font-size:50px; cursor:pointer; } .i1 { float:left; display:block; margin-top:50px; margin-left:115px; } .i2 { float:left; display:block; margin-left:20px; margin-top:274px; } .a { width:1200px; height:800px; margin:0 auto; /*border:1px solid red; */ }