博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CSS一些定义的内容
阅读量:2399 次
发布时间:2019-05-10

本文共 1002 字,大约阅读时间需要 3 分钟。

 

按钮的定义参数下如:

.button {

  color: #000000;
  font-family: Arial, Hevlvetica, sans-serif;
  text-align: center;
  font-size: 12px;
  border: 3px double #cccccc;
  width: auto;
  background: #ffffff;
  padding: 1px 5px 1px 5px;
  line-height: 16px !important;
  line-height: 14px;
  height: 24px !important;
  height: 22px;
  margin: 1px;
  cursor: pointer;

}

链接的定义效果:

a{

display:block;
width: 6em;
padding: 0.2em;
line-height: 1.4;
background-color: #94b8e9;
border: 1px solid black;
color: #000;
text-decoration: none;
text-align: center;
}

会在原来定义的链接效果基础上,形成按钮效果!
 
 
表格的定义效果:
.qry {
 }
.qry th{
   background: #D3E7FC;
   font-size: 12px;
   text-align:center;
   vertical-align:middle;
   line-height: 23px;
   border: 1px solid #0066FF;
 }
.qry td{
  background: #FFFFCC;
   font-size: 12px;
   border: 1px solid #0066FF;
 }
 
<table width="100%" align="center" class="qry">
    <tr>
     <th width="80">
            1     
     </th>
     <td width="100">
           2
     </td>
     <th width="80">
          3
     </th>
     <td width="100">
        4     
     </td>
     <th width="80">
        5
     </th>
     <td width="100">
        6
     </td>
     <td width="694">
        7 
     </td>
    </tr>
 </table>

转载地址:http://ncjob.baihongyu.com/

你可能感兴趣的文章
从零开始搭建Nginx和Tomcat的web集群环境
查看>>
关于技术文档
查看>>
alert日志中的一条ora警告信息的分析
查看>>
美国旧金山之行第四天
查看>>
zookeeper初探
查看>>
mysqldump与innobackupex备份过程你知多少(完结篇)
查看>>
sysbench花式踩坑之三:自增值导致的锁等待
查看>>
当心!使用mysqldump备份可能会让你欲哭无泪
查看>>
oracle 12c flex cluster专题 之 节点角色转换
查看>>
SQL优化案例-改变那些CBO无能为力的执行计划(一)
查看>>
SQL优化案例-正确的使用索引(二)
查看>>
Oracle Data Guard Feature 12cR2系列(一)
查看>>
MySQL InnoDB Update和Crash Recovery流程
查看>>
Oracle RushQL勒索病毒恢复方法
查看>>
Oracle RAC Cache Fusion 系列十:Oracle RAC Enqueues And Lock Part 1
查看>>
MySQL问题两则
查看>>
MySQL执行计划explain的key_len解析
查看>>
基于Oracle的私有云架构探析(连载一)
查看>>
使用pg_stat_statement监控pgsql遇到的问题
查看>>
ASM 翻译系列第十弹:ASM Internal ASM DISK header
查看>>