validateCssUnit(width) for selectize and slider