我在gridview中进行了如下设置:生成的代码如下所示。我想要的效果是对
“首页”,“尾页”,“后页”,“前页”这几个字的字体效果进行控制,我的理解是在PagerStyle中进行相应Font的设置,可是设来设去没有任何效果,Font-Size="XX-Small" (或设置成Font-Size="13px")字体的大小总是变不小,不知道何种原因,特请教各位。
请大家多多指点!谢谢<PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NextPreviousFirstLast"
                                NextPageText="后页" PreviousPageText="前页" />
                          
 <PagerStyle BackColor="#9EBEE4" BorderColor="SteelBlue" BorderStyle="Solid" BorderWidth="1px" Font-Size="XX-Small" Font-Strikeout="False" ForeColor="Blue" Height="13px" Font-Bold="False" Font-Names="宋体" Font-Underline="False" />

解决方案 »

  1.   

    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowPaging="True" PagerStyle-Font-Size="100px" PageSize="2" >
    ...........
    </asp:GridView>如上面,再  PagerStyle-Font-Size="100px" 这个属性里面设置字体的大小
      

  2.   

    前面有没有Response.Write什么东西??我这边好像是Response.Write了一个东西,然后大小就不变,,如果去掉那个Response.Write,就有反应,,很奇怪的一个问题,,求高人回答~~
      

  3.   

    http://pic446688.blog.hexun.com/
    请各位大侠指导小妹
      

  4.   

    http://pic446688.blog.hexun.com/ 
    请各位大侠指导小妹,小妹感激涕淋