html-表格制作
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>表格</title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
.box{
width: 773px;
margin: 0 auto;
text-align: center;
}
h2{
font-size: 22px;
font-family: "微软雅黑";
line-height: 70px;
}
table{
font-family: "微软雅黑";
font-size: 12px;
font-weight: normal;
border-spacing: 0;
}
.ser{
width: 60px;
}
.rep{
width: 250px;
}
.fiv{
width: 50px;
}
.fau{
width: 190px;
}
tr{
height: 30px;
}
.lef{
text-align: left;
}
.bot{
text-align: left;
margin-top: 10px;
}
.bot span{
margin: 0px 90px 10px 20px;
}
</style>
</head>
<body>
<div class="box">
<h2>项目增补单</h2>
<table border="1">
<tr>
<th class="ser">序号</th>
<th class="rep">维修项目及更换配件</th>
<th class="fiv">单价</th>
<th class="fiv">数量</th>
<th class="fiv">小计</th>
<th class="fiv">工时费</th>
<th class="fiv">合计</th>
<th class="fau">故障原因</th>
</tr>
<tr>
<td>1</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>2</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>3</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>4</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>5</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>6</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td rowspan="4">7</td>
<td></td>
<td rowspan="4" colspan="2"></td>
<td rowspan="4"></td>
<td rowspan="4"></td>
<td rowspan="4"></td>
<td rowspan="4"></td>
</tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr><td></td></tr>
<tr class="lef">
<td colspan="2">合计费用小计:</td>
<td colspan="5">工时费用小计:</td>
<td>合计:</td>
</tr>
</table>
<div class="bot">
<span>班组长:</span>
<span>技术部:</span>
<span>服务顾问:</span>
<span>客户确认:</span>
</div>
</div>
</body>
</html>
本文来自博客园,作者:JackieDYH,转载请注明原文链接:https://www.cnblogs.com/JackieDYH/p/17634925.html