zoukankan
html css js c++ java
asp.net 样式GridView CSS的完整样式表
Code
.GridViewStyle
{
border-right
:
2px solid #A7A6AA
;
border-bottom
:
2px solid #A7A6AA
;
border-left
:
2px solid white
;
border-top
:
2px solid white
;
padding
:
4px
;
}
.GridViewStyle a
{
color
:
#FFFFFF
;
}
.GridViewHeaderStyle th
{
border-left
:
1px solid #EBE9ED
;
border-right
:
1px solid #EBE9ED
;
}
.GridViewHeaderStyle
{
background-color
:
#5D7B9D
;
font-weight
:
bold
;
color
:
White
;
}
.GridViewFooterStyle
{
background-color
:
#5D7B9D
;
font-weight
:
bold
;
color
:
White
;
}
.GridViewRowStyle
{
background-color
:
#F7F6F3
;
color
:
#333333
;
}
.GridViewAlternatingRowStyle
{
background-color
:
#FFFFFF
;
color
:
#284775
;
}
.GridViewRowStyle td, .GridViewAlternatingRowStyle td
{
border
:
1px solid #EBE9ED
;
}
.GridViewSelectedRowStyle
{
background-color
:
#E2DED6
;
font-weight
:
bold
;
color
:
#333333
;
}
.GridViewPagerStyle
{
background-color
:
#284775
;
color
:
#FFFFFF
;
}
.GridViewPagerStyle table
/**//*
to center the paging links
*/
{
margin
:
0 auto 0 auto
;
}
以下为使用示例: 关键部分
<
asp:GridView
CssClass
="GridViewStyle"
runat
="server"
>
<
FooterStyle
CssClass
="GridViewFooterStyle"
/>
<
RowStyle
CssClass
="GridViewRowStyle"
/>
<
SelectedRowStyle
CssClass
="GridViewSelectedRowStyle"
/>
<
PagerStyle
CssClass
="GridViewPagerStyle"
/>
<
AlternatingRowStyle
CssClass
="GridViewAlternatingRowStyle"
/>
<
HeaderStyle
CssClass
="GridViewHeaderStyle"
/>
</
asp:GridView
>
查看全文
相关阅读:
VC 使用json cpp 静态库 问题解决
<转>c++ builder JSONCPP 注意事项 XE2 解决编译问题 _Mfl
窥探try ... catch与__try ... __except的区别
二叉树与其它树
《DirectX 9.0 3D游戏开发编程基础》 第二章 绘制流水线 读书笔记
《DirectX 9.0 3D游戏开发编程基础》 第一章 初始化Direct3D 读书笔记
《DirectX 9.0 3D游戏开发编程基础》必备的数学知识 读书笔记
windows lua 多线程 线程同步
<转>多线程中的lua同步问题
php 检查email电子邮件函数(奇葩写法)
原文地址:https://www.cnblogs.com/jes_shaw/p/1585055.html
最新文章
vim卡死
kotlin基础 密封类
kotlin基础 枚举
kotlin基础 尾递归
kotlin基础 range
kotlin基础 条件控制 when
kotlin基础 空值检查
kotlin基础 字符串比较 equal
kotlin基础 字符串模板
CCNA2.0笔记_ipv6的EIGRP
热门文章
CCNA2.0笔记_EIGRP
CCNA2.0笔记_动态路由
CCNA2.0笔记_路由相关
CCNA2.0笔记_路由分类
CCNA2.0笔记_IP连接排错
CCNA2.0笔记_子网划分
CCNA2.0笔记_VLSM
CCNA2.0笔记_HSRP
CCNA2.0笔记_Trunk&EtherChannel
<转>巧用notepad++ 批量转换ansi 和 utf8
Copyright © 2011-2022 走看看