DataPager 分页样式(css)
<asp:DataPager ID="DataPager1" runat="server" PagedControlID="LV" PageSize="">
<Fields>
<asp:NextPreviousPagerField ShowFirstPageButton="True" ShowNextPageButton="False"
ShowPreviousPageButton="False" FirstPageText="<<"
LastPageText="尾页" />
<asp:NumericPagerField ButtonCount="" CurrentPageLabelCssClass="current" />
<asp:NextPreviousPagerField ShowLastPageButton="True" ShowNextPageButton="False"
ShowPreviousPageButton="False" FirstPageText="首页"
LastPageText=">>" />
</Fields>
</asp:DataPager>
PagedControlID="LV" 对应的是 asp:ListView ID="LV"
current.css
/*页面分页样式*/ span#ContentPlaceHolder1_DataPager1 a.aspNetDisabled
{
border: 1px solid #382a4a;
padding: 2px 5px;
margin: 2px;
color: #4c3766;
text-decoration: none;
} span#ContentPlaceHolder1_DataPager2 a.aspNetDisabled
{
border: 1px solid #382a4a;
padding: 2px 5px;
margin: 2px;
color: #4c3766;
text-decoration: none;
} span#ContentPlaceHolder1_DataPager3 a.aspNetDisabled
{
border: 1px solid #382a4a;
padding: 2px 5px;
margin: 2px;
color: #4c3766;
text-decoration: none;
} #ContentPlaceHolder1_DataPager1 a
{
border: 1px solid #563f83;
padding: 2px 5px;
margin: 2px;
color: #9966FF;
text-decoration: none;
} #ContentPlaceHolder1_DataPager2 a
{
border: 1px solid #563f83;
padding: 2px 5px;
margin: 2px;
color: #9966FF;
text-decoration: none;
} #ContentPlaceHolder1_DataPager3 a
{
border: 1px solid #563f83;
padding: 2px 5px;
margin: 2px;
color: #9966FF;
text-decoration: none;
} #ContentPlaceHolder1_DataPager1 a:hover
{
border: 1px solid #9966FF;
} #ContentPlaceHolder1_DataPager2 a:hover
{
border: 1px solid #9966FF;
} #ContentPlaceHolder1_DataPager3 a:hover
{
border: 1px solid #9966FF;
} .current
{
border: 1px solid #9933FF;
padding: 2px 5px 2px 5px;
font-weight: bold;
color: #fff;
background-color: #CC66FF;
}
DataPager 分页样式(css)的更多相关文章
- thinkphp分页样式css代码
<style type="text/css"> .Pagination a:hover,.current{background-color: #f54281;borde ...
- VS中的DataPager分页
微软的DataPager分页功能很强大,不要设置数据库存储过程,只要添加个DataPager控件,关联下要分页的控件,简单设置就可以有不错的分页效果.当然要有更理想的效果还是要前台和后台处理下. wi ...
- php分页类代码带分页样式效果(转)
php分页类代码,有漂亮的分页样式风格 时间:2016-03-16 09:16:03来源:网络 导读:不错的php分页类代码,将类文件与分页样式嵌入,实现php查询结果的精美分页,对研究php分页原理 ...
- 打造简单实用的Thinkphp分页样式(Bootstrap版本)
先吐槽一下ThinkPHP3.1版的分页样式,虽然看起来也很简单大方,但是所有的页码全是使用简单的数字,之间的空隙比较小,不大容易点,还有那个“前5页”和“后5页”显得有点多余,因为点击当前显示第一页 ...
- 帝国cms 列表页分页样式修改美化【2】
上一篇(帝国cms 列表页分页样式修改美化[1])中我们已经对分页说了一个大概,下面我们就自己动手弄一个分页把: 第一步:进入帝国cms后台,点击系统设置->系统参数设置->信息设置:里面 ...
- 帝国cms 列表页分页样式修改美化【1】
[1]自己修改帝国cms默认的分页样式(css),这样做的好处是你不用去改动帝国的核心文件,方便以后升级. [2]自己动手去修改帝国的分页(php+css),帝国的分页在e>class>下 ...
- 修改DeDe标签Pagelist分页样式
我们在用dede仿站的时候,调用文章列表页的分页时,我们会用到: {dede:pagelist listitem=”info,index,end,pre,next,pageno” listsize=” ...
- 帝国cms分页样式修改文件-注意事项
帝国cms分页样式主要有:内容页分页样式.列表页分页样式以及默认搜索模板使用的搜索样式等几种. 要改这些样式其实也很简单,在网站目录中找到相应的.css文件修改empages属性就行了,但是这样比较麻 ...
- bootstrap导航条+模态对话框+分页样式
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content ...
随机推荐
- string&&char 小技巧
关于string =,assign() //赋以新值 swap() //交换两个字符串的内容 +=,append(),push_back() //在尾部添加字符 insert() //插入字符 ...
- DAP in Coresight
DAP简单来说分成 DP + AP , Debug Port + Access Port Debug Port--和JTAG的接口叫做Debug Port Access Port--和内部其他的接口叫 ...
- VS2012智能提示消失的解决方法
1.点击电脑左下角的“开始菜单”->"所有程序"->Microsoft Visual Studio 2012->Visual Studio Tools->V ...
- OpenMP并行构造的schedule子句详解 (转载)
原文:http://blog.csdn.net/gengshenghong/article/details/7000979 schedule的语法为: schedule(kind, [chunk_si ...
- IE插件BHO
一丶接口IObjectWithSite //BHO项目(类库)添加引用两个COM //Microsoft HTML Object Library, Microsoft Internet Control ...
- Maven中配置默认JDK版本
使用Maven构建项目时,默认是使用jdk1.3版本,目前很多使用泛型的项目肯定是无法通过编译,除了修改项目的pom文件外,还可以在Maven的配置文件settings.xml中添加如下配置来解决: ...
- Linux下VFP NEON浮点编译
http://blog.csdn.net/liujia2100/article/details/27236477 NEON:SIMD(Single Instruction Multiple Data ...
- css3小总结
一.边框 1.border-radius:x,y,模糊半径,color(x为负数时左移动,y为负数是上移动) 2.box-radius:x,y,模糊半径,阴影半径,color 3.border-ima ...
- [PL/SQL] 如何规避异常ORA-01403
如果mytable表中不存在 ID = 123 的数据,那么 SELECT Flag INTO flag FROM mytable WHERE ID = 123 将抛出异常ORA-01403 SELE ...
- Dancing Links & Algorithm X
1 参考链接 http://www.cnblogs.com/steady/archive/2011/03/15/1984791.html#undefined http://en.wikipedia.o ...