/* это правила оформления. К скрипту отношения не имеют */ .cost_box form { width: 250px; position: relative; margin: 0px; } .formCost { float: left; margin-bottom: 10px; } .formCost div{float:left;} .formCost label { float: left; font-size: 14px; color:#929292; font-weight: bold; margin-right: 5px; margin-top:5px; position: relative; top: 2px; } .formCost input { float: left; text-align: right; font-size: 14px; font-weight: bold; width: 55px; height: 20px;padding:5px; background: none; border: 1px solid #d2d2d2; margin-right: 10px; border-radius:5px; } .sliderCont { margin-top:20px; width: 178px; height: 27px; float: left; } /* А это правила для скрипта: */ #slider { width: 200px; } .ui-slider { position: relative; } .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 15px; height: 15px; background: url(../img/begunok_slider.png) no-repeat; cursor: pointer } .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; overflow: hidden; } .ui-slider-horizontal { height: 4px; } .ui-slider-horizontal .ui-slider-handle { top: -5px; margin-left: -6px; } .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } .ui-slider-horizontal .ui-slider-range-min { left: 0; } .ui-slider-horizontal .ui-slider-range-max { right: 0; } .ui-widget-content { border: 3px solid #d2d2d2; background: #fff; } .ui-widget-header { border: 1px solid #D4D4D4; background: #F00; } .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }