呵呵,最近做项目,对gridview的样式进行了调整,特与大家分享,希望大家共同学习,共同进步。
呵呵,这是我做的,大家觉得怎么样呢?是不是看起来很清新呢,很适合做b/s模式的系统的。以下是代码:
/*Header and Pager styles*/
.HeaderStyle
{height:28px;background:url(../images/hbg.jpg) repeat-x;color:#000;}
.RowStyle
{height:28px;border:1px solid #e1e1e1;}
/*SelectedRow Styles*/
.SelectedRowStyle
{background-color: #E3E3E3;font-weight: bold;height: 28px;}
/*GridViewCSS Glass Black Style*/
.GridViewStyle
{font-family: Arial, Sans-Serif;font-size:small;table-layout: auto;border-bottom:1px solid #efeff1;border-left:1px solid #efeff1;border-right:1px solid #efeff1;}
.GridViewStyle td
{border-bottom:1px solid #efeff1;border-left:1px solid #efeff1;border-right:1px solid #efeff1;}