.which_group { list-style:none; margin:0; padding:0; width:100%; font-size:11px; color:#595959; } .which_group li { float:left; list-style:none; padding:7px; cursor:pointer; box-Shadow:1px 2px 3px #D9D9D9; } .which_group li:first-child { border-top-left-radius:3px; border-bottom-left-radius:3px; } .which_group li:last-child { border-top-right-radius:3px; border-bottom-right-radius:3px; }