A visual scale for a JQuery UI slider seems such a common feature required by many use cases, yet I have not found a standard approach for making one.
My question: can this only be done via custom HTML and CSS on a case-by-case basis? If so, how do we implement the correct spacing (assuming the scale is evenly spaced, e.g. 0, 10, 20, 30, 40, 50) between legends in terms of em
or %
, but not by px
, since the slider is embedded in a fluid layout?