CSS表格样式1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="gb2312">
<head>
<title>报表标题</title>
<meta http-equiv="Content-Type" content="text/html;charset=GBK" />
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<style type="text/css">
/* CSS Document */
body {
font: normal 11px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
}
a {
overflow:visible;
font-family:Tahoma,Helvetica,Arial,"宋体",sans-serif;
color:#0047D8;
}
a:hover{color: #9997D8;}
#mytable {
width: 700px;
padding: 0;
margin: 0;
}
caption {
padding: 0 0 5px 0;
width: 700px;
font: 18px Bold "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
text-align: center;
}
th {
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;
border-top: 1px solid #C1DAD7;
letter-spacing: 2px;
text-transform: uppercase;
text-align: left;
padding: 6px 6px 6px 12px;
background: #CAE8EA url(images/bg_header.jpg) no-repeat;
}
th.nobg {
border-top: 0;
border-left: 0;
border-right: 1px solid #C1DAD7;
background: none;
}
td {
border-right: 1px solid #C1DAD7;
border-bottom: 1px solid #C1DAD7;
background: #fff;
font-size:11px;
padding: 6px 6px 6px 12px;
color: #4f6b72;
}
td.alt {
background: #F5FAFA;
color: #797268;
}
</style>
<body>
<div style="text-align:left">
<h4>统计数据概要</h4>
<h5><A HREF="#everyReportCountSummary">交易笔数</A></h5>
</div>

<div id="everyReportCountSummary" style="text-align:left">
<table border=0 width="50%" height="200">
<caption>交易笔数</caption>
<tr>
<th>交易状态</th><th>笔数</th>
</tr>
<tr>
<td class="alt">创建笔数</td><td class="alt">123</td>
</tr>
<tr>
<td>付款笔数</td><td>343</td>
</tr>
<tr>
<td class="alt">发货笔数</td><td class="alt">122</td>
</tr>
<tr>
<td>确认收货笔数</td><td>133</td>
</tr>
<tr>
<td class="alt">申请退款笔数</td><td class="alt">50</td>
</tr>
<tr>
<td>退款成功笔数</td><td>40</td>
</tr>
</table>
</div>

</body>
</html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值