* { margin:0; padding:0; } .lunbo_1 ul { padding:0; width:5000px; } .lunbo_1 ul li { list-style:none; float:left; width:50px; height:50px; margin-right:10px; background:#FA8072; color:white; line-height:50px; text-align:center; position:relative; } .lunbo_1 { border:1px solid black; height:50px; width:300px; margin:0px auto; position:relative; top:20px; overflow:hidden; } .lunbo { background:saddlebrown; height:200px; }