.inpBox { border: 1px solid #cccccc; height: 34px; width: 100%; display: inline-block; position: relative; vertical-align: middle; z-index: 111; } .addTree { background: #fff; position: absolute; width: 100%; border: 1px solid darkgrey; right: 0; top: 32px; display: none; z-index: 222; } .xl { display: inline-block; background: url(../../img/dropDown.png) no-repeat; height: 100%; background-position: center center; width: 20px; position: absolute; right: 0; top: 0px; cursor: pointer; } .ztree li span { border: none; padding: 0; } .inps { width: 80%; height: 32px; outline: none; border: 0; border-image-width: 0; padding: 0; padding-left: 3px; } .xl { display: inline-block; background: url(../img/dropDown.png) no-repeat; height: 100%; background-position: center center; width: 20px; position: absolute; right: 0; top: 0px; /* background-color: #f7bc8b; */ cursor: pointer; } .Cleans { display: inline-block; width: 20px; position: absolute; right: 21px; top: 9px; display: none; } .selDpart1 { position: absolute; left: 15px; top: 34px; z-index: 11111; width: 220px; line-height: 30px; background: #ffffff; display: none; } #sponsor { width: 218px; border: 1px solid #00a1cb; margin: 0; padding: 0; list-style: none; max-height: 212px; overflow-x: hidden; overflow-y: scroll; } #sponsor li { margin: 0; padding-left: 10px; width: 220px; height: 30px; line-height: 30px; list-style: none; } #sponsor li:hover { background: #00a1cb; }