Slider clipped

Hoping someone can help a novice figure out what I am doing wrong. Depending on how I create a dhtmlxSlider object the slider is clipped on the ends. If I call using:

the slider control appears correctly. If I call using:

then both ends of the control are clipped off. (See picture)

Anyone got a clue as to what could be the issue?



There is my code:


Slider 10 html,body { height: 100%; margin: 0px; overflow: hidden; }
[/code] There is the result:
Please, try it!