html table表头斜线

关于htnl的table的表头斜线,符合表格设计规范,
<style>
.biaotou {
line-height: 5px;
text-align: left;
}
.biaotou {
background: rgba(0, 0, 0, 0) url("${base}/images/tab_bg.jpg") no-repeat scroll 0 0;
height: 51px;
width: 131px;
}
.biaotoutxt1 {
color: #d26103;
padding: 12px 0 0 95px;
}


.biaotoutxt2 {
color: #d26103;
padding: 15px 0 0 55px;
}

.biaotoutxt3 {
color: #d26103;
padding: 2px 0 0 8px;
}
style>

html代码如下:
<td style="height: 51px;width: 131px;">
<div class="biaotou">
<div class="biaotoutxt1">类型div>
<div class="biaotoutxt2">数量div>
<div class="biaotoutxt3">辖区div>
div>
td>




转载于:https://www.cnblogs.com/zrlhss/p/4861075.html

你可能感兴趣的:(html table表头斜线)