Hey,
Could anyone offer some insight please into where I am going wrong with the following, attempting to create a 20px tall horizontal slider:
this._sliderControl = new dijit.form.HorizontalSlider( {maximum : this.numberOfPages, minimum : 0, discreteValues : this.numberOfPages,
showButtons : false, container : this, clickSelect : true,
style : "height: 20px;"} , dojo.byId("sliderControl"));It appears the style attribute is being completely ignored...maybe there is an alternative method?
Thanks,
-Alex
edit: I forgot to say the issue was with the size of the buttons on the end of the slider - and having looked through the code I can't see anywhere which sets their dimensions, so I guess they just revert to the default...?

alternative method for width of programmatic slider creation
when programmatically creating a slider, set the dimensions of you div container, in your case, dojo.byId("sliderControl") to the width you desire. This is the work around which I found.