18 March, 2009
0 Comments
0 categories
When you set the PagerStyle Height property this will no allways set the correct height of the PageStyle.
<asp:GridView ID="Test"> <PagerStyle Height="10px" /> </asp:GridView>
To set the correct height use a CSS class:
<asp:GridView ID="Test"> <PagerStyle CssClass="PagerStyle" /> </asp:GridView>
In you’re CSS file add:
TR.PagerStyle TD { height: 10px; margin: 0px; padding-top: 2px; padding-bottom: 2px; } TR.PagerStyle TD TABLE { margin: 0px; padding-top: 2px; padding-bottom: 2px; }