<webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CustomInfoTextAlign="Center"
                        FirstPageText="<font style='FONT-SIZE: small'>最前页</fornt>" InputBoxStyle="border:1px #0000FF solid;text-align:center;FONT-SIZE: small"
                        LastPageText="<font style='FONT-SIZE: small'>最后页</fornt>" NextPageText="<font style='FONT-SIZE: small'>下一页</fornt>"
                         PrevPageText="<font style='FONT-SIZE: small'>前一页</fornt>"
                        ShowCustomInfoSection="Right" ShowInputBox="Always" ShowPageIndex="False" SubmitButtonStyle="width:40px;height:21px;"
                        SubmitButtonText="转到" TextAfterInputBox="页" TextBeforeInputBox="第" Width="375px" style="text-align: center">
                    </webdiyer:AspNetPager>
给你个样式

解决方案 »

  1.   

    我就想在原来的基础上改动,把你那个样式copy进去,出错了,能在我的基础上改动的么?谢谢!
      

  2.   

    你是不是用啦CSS 默认是css的优先,你检查一下你的css文件有没有重复
      

  3.   

    这是全部的代码了,我对CSS不是很懂,请帮忙看看,谢谢!就是想把上一页,下一页,这些字变小一点,怎么解决呢?中间部分我已经删除了,太大了,应改没有用处的。
    <%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
    <%@ Page language="c#" Codebehind="WindowManager.aspx.cs" AutoEventWireup="false" Inherits="xinyun.aspx.maintain.aboutus.windows.WindowManager" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <HTML>
    <HEAD>
    <title>ImageManager</title>
    <meta content="False" name="vs_snapToGrid">
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
    <meta content="C#" name="CODE_LANGUAGE">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    <script type="text/JavaScript">
    <!--
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    }
    //-->
    </HEAD>

    <TR style="FONT-SIZE: 10xp">
    <TD style="FONT-SIZE: 10px; HEIGHT: 5px" align="left"><webdiyer:aspnetpager id="pager" runat="server" Font-Size="10px" Width="792px" Height="18px" BorderColor="#FFC0FF" HorizontalAlign="Right" PagingButtonSpacing="12px" ShowPageIndex="False" PrevPageText="上一页" NextPageText="下一页" LastPageText="末页" FirstPageText="首页" AlwaysShow="True" ShowCustomInfoSection="Left" MoreButtonType="Image" NavigationButtonType="Image" SubmitButtonText="转到" CustomInfoHTML="<span class='red2'><strong class='red'>总条数</strong>:%RecordCount%条</span>   页:<font  color='red'>%currentPageIndex%</font>/%pageCount%"></webdiyer:aspnetpager></TD>
    </TR>
    <TR>
    <TD align="center" height="15"></TD>
    </TR>
    </body>
    </HTML>