The webslider (using Windows7 styleset) has a large top/bottom margin that I have been unable to discover how to manipulate. How can I reduce this top/bottom margin?
Hello,
Do you have any further questions with manipulating the slider's margins.
Let me know if this works for you.
Sincerely,Duane HoytDeveloper Support Engineer, MCTSInfragisticshttps://es.infragistics.com/support
To set the top/bottom margins of the control you can set the Height property in pixels. By default the control is set to 70px and you can specify for example 50px. The margins will then become smaller.
Another option is to create a css class style within the head tag. So for example you can create a class name MyWebSliderStyle:
<style type="text/css"> .MyWebSliderStyle { height: auto !important; }</style>
Then assign MyWebSliderStyle to the CssClass property:
<ig:WebSlider ID="WebSlider1" CssClass="MyWebSliderStyle" runat="server"></ig:WebSlider>
Since there's an inline style for height, the !important property will override the inline css style from the MyWebSliderStyle class. By setting auto it will only render the minimum required height needed for the control (no extra spacing).
Let me know if you have any questions with this matter.