zoukankan      html  css  js  c++  java
  • 好看的table样式

    --20200106新增一个

    <style type="text/css">
    table {
    border-collapse: collapse;
    margin: 0 auto;
    text-align: center;
    }

    table td, table th {
    border: 1px solid #cad9ea;
    color: #666;
    height: 30px;
    }

    table thead th {
    background-color: #CCE8EB;
    100px;
    }

    table tr:nth-child(odd) {
    background: #fff;
    }

    table tr:nth-child(even) {
    background: #F5FAFA;
    }
    </style>

    收藏个好看的table样式

    <style type="text/css">
    table.gridtable {
    font-family: verdana,arial,sans-serif;
    font-size:11px;
    color:#333333;
    border- 1px;
    border-color: #666666;
    border-collapse: collapse;
    }
    table.gridtable th {
    border- 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #dedede;
    }
    table.gridtable td {
    border- 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #ffffff;
    }
    </style>

  • 相关阅读:
    IDEA调试快捷键
    视频预览
    文件上传:简单的demo
    Java 运行时优化
    Java 类加载
    Java StringTable
    Java 为什么不用Vector
    C++ 查找函数
    JVM 垃圾回收
    JVM 直接内存
  • 原文地址:https://www.cnblogs.com/lovejunjuan/p/4972256.html
Copyright © 2011-2022 走看看