.form-group-ul{ height: 120px; width: 95%; overflow-y:auto; } .berthAreaList{ padding-left: 25px; } .berthAreaList li{ float: left; padding-left: 20px; width: 110px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: 0px 25px 5px 0; cursor: pointer; background: url("../../../img/input-checkexActive.png") no-repeat 0 center; } .berthAreaList li.a-active{ background: url("../../../img/input-checkbox.png") no-repeat 0 center; } .maxwidth200{ max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }