<div id="slider-container"></div> <div id="range-label">0 - 10</div> <script type="text/javascript"> var slider = createD3RangeSlider(0, 100, "#slider-container"); slider.onChange(function(newRange){ d3.select("#range-label").text(newRange.begin + " - " + newRange.end); }); slider.range(0,10); </script>
position: relative
in the styleslider.range(10,20)