body { background-color:yellowgreen; } .box { width:1000px; height:240px; /*background-color:aqua; */ margin:0 auto; margin-top:100px; clear:both; } #btn { width:100px; height:30px; margin-left:600px; margin-top:50px; } .name { width:100px; height:30px; float:left; background-color:antiquewhite; margin-left:10px; margin-top:10px; text-align:center; line-height:30px; } #span { float:right; position:relative; top:55px; right:185px; } h1 { text-align:center; }