请教关于CSS根据ID设置服务端控件css 样式 表单控件

2012年 总版技术专家分年内排行榜第一2007年 总版技术专家分年内排行榜第二2006年 总版技术专家分年内排行榜第二2004年 总版技术专家分年内排行榜第二
2005年 总版技术专家分年内排行榜第三2003年 总版技术专家分年内排行榜第三2002年 总版技术专家分年内排行榜第三
本帖子已过去太久远了,不再提供回复功能。【图文】服务器端控件_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
服务器端控件
上传于||暂无简介
大小:243.50KB
登录百度文库,专享文档复制特权,财富值每天免费拿!
你可能喜欢应用CSS样式
Bootstrap pagination:
/*先引入bootstrap.css*/
.pagination a[disabled]{
color: #777;cursor: not-background-color: #border-color: #}
.pagination span.active{z-index: 2;color: #cursor:background-color: #337ab7;border-color: #337ab7;}
属性设置:CssClass="pagination" LayoutType="Ul" PagingButtonLayoutType="UnorderedList" PagingButtonSpacing="0" CurrentPageButtonClass="active"
网易风格:
.anpager .cpb {background:#1F3A87 none repeat scroll 0 0;border:1px solid #CCCCCC;color:#FFFFFF;font-weight:margin:5px 4px 0 0;padding:4px 5px 0;}
.anpager a {background:#FFFFFF none repeat scroll 0 0;border:1px solid #CCCCCC;color:#1F3A87;margin:5px 4px 0 0;padding:4px 5px 0;text-decoration:none}
.anpager a:hover{background:#1F3A87 none repeat scroll 0 0;border:1px solid #1F3A87;color:#FFFFFF;}
属性设置:CssClass="anpager" CurrentPageButtonClass="cpb"
PagingButtonSpacing="0"
拍拍网风格:
.paginator { font: 11px Arial, Helvetica, sans-padding:10px 20px 10px 0; margin: 0}
.paginator a {padding: 1px 6 border: solid 1px # background: # text-decoration:margin-right:2px}
.paginator a:visited {padding: 1px 6 border: solid 1px # background: # text-decoration:}
.paginator .cpb {padding: 1px 6font-weight: font-size: 13border:none}
.paginator a:hover {color: # background: #ffa501;border-color:#ffa501;text-decoration:}
属性设置:CssClass="paginator" CurrentPageButtonClass="cpb" PagingButtonSpacing="0"
迅雷风格:
color: #999;overflow: }
.pages a, .pages .cpb { text-decoration:float: padding: 0 5 border: 1px solid #background: #margin:0 2 font-size:11 color:#000;}
.pages a:hover { background-color: #E61636; color:#border:1px solid #E61636; text-decoration:}
.pages .cpb { font-weight: color: # background: #E61636; border:1px solid #E61636;}
属性设置:CssClass="pages" CurrentPageButtonClass="cpb" PagingButtonSpacing="0"
ApplyStyles.aspx:
&%@ Page Title=&应用CSS样式& MetaDescription=&该示例演示如何为AspNetPager分页控件定义及应用样式。& Language=&C#& MasterPageFile=&AspNetPager.master& AutoEventWireup=&true& Inherits=&Styles1_Default& Codebehind=&ApplyStyles.aspx.cs& %&
&asp:Content ID=&Content2& ContentPlaceHolderID=&main& Runat=&Server&&
&h4&Bootstrap pagination:&/h4&
&webdiyer:AspNetPager CssClass=&pagination& LayoutType=&Ul& PagingButtonLayoutType=&UnorderedList& PagingButtonSpacing=&0& CurrentPageButtonClass=&active&
ID=&AspNetPager1& runat=&server& RecordCount=&228&&
&/webdiyer:AspNetPager& &br /& CSS样式:&br /&
&textarea rows=&4& style=&width:98%&&/*先引入bootstrap.css*/
.pagination a[disabled]{
color: #777;cursor: not-background-color: #border-color: #}
.pagination span.active{z-index: 2;color: #cursor:background-color: #337ab7;border-color: #337ab7;}&/textarea&
&br /&属性设置:&span class=&code&&CssClass=&pagination& LayoutType=&Ul& PagingButtonLayoutType=&UnorderedList& PagingButtonSpacing=&0& CurrentPageButtonClass=&active&&/span&
&h4&网易风格:&/h4&
&webdiyer:AspNetPager CssClass=&anpager& CurrentPageButtonClass=&cpb& PagingButtonSpacing=&0&
ID=&AspNetPager2& runat=&server& RecordCount=&228&
FirstPageText=&首页& LastPageText=&尾页& NextPageText=&后页& PrevPageText=&前页&&
&/webdiyer:AspNetPager&
&br /& CSS样式:&br /&
&textarea rows=&4& style=&width:98%&&
.anpager .cpb {background:#1F3A87 none repeat scroll 0 0;border:1px solid #CCCCCC;color:#FFFFFF;font-weight:margin:5px 4px 0 0;padding:4px 5px 0;}
.anpager a {background:#FFFFFF none repeat scroll 0 0;border:1px solid #CCCCCC;color:#1F3A87;margin:5px 4px 0 0;padding:4px 5px 0;text-decoration:none}
.anpager a:hover{background:#1F3A87 none repeat scroll 0 0;border:1px solid #1F3A87;color:#FFFFFF;}&/textarea&
&br /&属性设置:&span class=&code&&CssClass=&anpager& CurrentPageButtonClass=&cpb&
PagingButtonSpacing=&0&&/span&
&h4&拍拍网风格:&/h4&
&webdiyer:AspNetPager CssClass=&paginator& CurrentPageButtonClass=&cpb& PagingButtonSpacing=&0&
ID=&AspNetPager3& runat=&server& RecordCount=&228&
FirstPageText=&首页& LastPageText=&尾页& NextPageText=&下一页& PrevPageText=&上一页&&
&/webdiyer:AspNetPager&
&br /&CSS样式:&br /&
&textarea rows=&4& style=&width:98%&&
.paginator { font: 11px Arial, Helvetica, sans-padding:10px 20px 10px 0; margin: 0}
.paginator a {padding: 1px 6 border: solid 1px # background: # text-decoration:margin-right:2px}
.paginator a:visited {padding: 1px 6 border: solid 1px # background: # text-decoration:}
.paginator .cpb {padding: 1px 6font-weight: font-size: 13border:none}
.paginator a:hover {color: # background: #ffa501;border-color:#ffa501;text-decoration:}&/textarea&
&br /&属性设置:&span class=&code&&CssClass=&paginator& CurrentPageButtonClass=&cpb& PagingButtonSpacing=&0&&/span&
&h4&迅雷风格:&/h4&
&webdiyer:AspNetPager CssClass=&pages& CurrentPageButtonClass=&cpb& PagingButtonSpacing=&0&
ID=&AspNetPager4& runat=&server& RecordCount=&228&
FirstPageText=&首页& LastPageText=&尾页& NextPageText=&下一页& PrevPageText=&上一页&&
&/webdiyer:AspNetPager&
&br /&CSS样式:&br /&
&textarea rows=&4& style=&width:98%&&
color: #999;overflow: }
.pages a, .pages .cpb { text-decoration:float: padding: 0 5 border: 1px solid #background: #margin:0 2 font-size:11 color:#000;}
.pages a:hover { background-color: #E61636; color:#border:1px solid #E61636; text-decoration:}
.pages .cpb { font-weight: color: # background: #E61636; border:1px solid #E61636;}&/textarea&
&br /&属性设置:&span class=&code&&CssClass=&pages& CurrentPageButtonClass=&cpb& PagingButtonSpacing=&0&&/span&
&/asp:Content&
ApplyStyles.aspx.cs:
public partial class Styles1_Default : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
(C)版权所有: 陕西省延安市吴起县 杨涛(Webdiyer),保留所有权利陕ICP备号 &&未经许可严禁复制、转载及建立镜像站点 Powered by .Net Framework 4.5、、
友情链接:&&

我要回帖

更多关于 css按钮样式 的文章

 

随机推荐