* { margin:0; padding:0; } .menu { margin:100px auto; width:1200px; height:80px; border:1px dashed #000; } a { text-decoration:none; color:orange; } ul { display:block; position:relative; text-align:left; margin:0px auto; } ul>li { list-style:none; float:left; width:200px; height:60px; display:block; text-align:center; line-height:60px; } .pro { position:absolute; margin-top:60px; width:100px; height:20px; border-radius:6px; background-color:orange; left:0px; }