.net AspNetPager 样式CSS

<style type="text/css">
/*分页控件*/
.paginator {
font: 11px Arial, Helvetica, sans-serif;
padding: 0px 15px 20px 25px;
margin: 0px;
font-family: 微软雅黑;
font-size: 23px;
}
 
/* 页面的背景以及字体*/
.paginator a {
padding: 15px 25px;
background-color: white;
text-decoration: none;
margin-right: 2px;
color: #333333;
font-size: 18px;
cursor: pointer;
}

.paginator a:visited {
padding: 1px 6px;
border: solid 1px #99d6ff;
background: #fff;
text-decoration: none;
color: #4cb8ff;
}

.paginator .cpb {
padding: 10px 25px 13px 25px;
font-weight: bold;
font-size: 23px;
border: none;
background-color: white;
}

.paginator a:hover {
color: #FFFFFF;
background: rgb(120,139,228);
border-color: #99d6ff;
text-decoration: none;
}

.paginator span {
color: #4cb8ff;
}
 </style>






<webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="true"
     PageSize="18" CssClass="paginator"  CurrentPageButtonClass="cpb"
    LastPageText="尾页" FirstPageText="首页" PrevPageText="上一页" NextPageText="下一页"  
            UrlPaging="True" NumericButtonTextFormatString="{0}"
      onpagechanged="AspNetPager1_PageChanged"  LayoutType="Table"  onpagechanging="AspNetPager1_PageChanging" 
            CustomInfoHTML="总页数 %CurrentPageIndex% of %PageCount%" ShowBoxThreshold="1" 
            UrlPageIndexName="page"  NumericButtonCount="8" CustomInfoSectionWidth="20%"  
                                PageIndexBoxStyle="height:38px;width:100px;border:2px solid #0066FF;outline:none;font-size:18px;text-indent:10px;"  
                                ShowMoreButtons="true" ShowCustomInfoSection="Right">
</webdiyer:AspNetPager>









.net_AspNetPager_样式CSS


webform
桂ICP备16004754号