CSS一些定义的内容

 

按钮的定义参数下如:

.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;
}

会在原来定义的链接效果基础上,形成按钮效果!
css定义按钮式链接
 
 
表格的定义效果:
.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>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值