易截截图软件、单文件、免安装、纯绿色、仅160KB

css 控制 GridView 样式

.net中 css 控制 GridView 样式
.net 2007-07-23 10:42:11 阅读1173 评论0 字号:大中小
.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 


相关文档:

学习css中的摘录

链接方法:
     外部链接样表:<head><link rel="stylesheet"  type="text/css" href="*.css"></head>
     内部的:1:<head><style type="text/css">  example css </style></head>
     &nbs ......

CSS命名规范

CSS命名规范
页头:header
登录条:loginbar
标志:logo
侧栏:sidebar
广告:banner
导航:nav
子导航:subnav
菜单:menu
子菜单:submenu
搜索:search
滚动:scroll
页面主体:main
内容:content
标签页:tab
文章列表:list
提示信息:msg
小技巧:tips
栏目标题:title
加入:joinus
指南:guil ......

在网页中加入CSS的方法

1.直接加在对象上
  <html>
   <head>
    <title>title</title>
   </head>
   <body>
    <span style="color:red">red</span>
   </body>
  </html>
2.加到页面头部
  <html>
   <head>
    < ......

HTML CSS标签

<html >
<body style="margin:0;overflow:hidden">
    <div>
     <table style="width:100%;height:100%">
         <!--<tr>
           & ......

css 透明背景

<body style="background-color:#000" mce_style="background-color:#000">
<div style="background-color:#fff; width:500px; height:200px; filter:alpha(opacity='50'); opacity:0.5">这个背景是透明的</div>
</body>
/*IE*/  
filter:alpha(opacity='50');
/*FF*/   ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号