每页都有的表头和打印分页,每页都有的表头和打印分页
【 tulaoshi.com - ASP 】
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<html
<head
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"
<title无标题文档</title
<style
@media print{
INPUT {display:none}
}
</style
</head
<body
<TABLE border="0" style="font-size:9pt;" width="300px" align="center"
<THEAD style="display:table-header-group;font-weight:bold"
<TR<TD colspan="2" align="center" style="font-weight:bold;border:3px double red"每页都有的表头</TD</TR
</THEAD
<TBODY style="text-align:center""
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR style="page-break-after:always;"<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR style="page-break-after:always;"<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR<TD表格内容</TD<TD表格内容</TD</TR
<TR style="page-break-after:always;"<TD表格内容</TD<TD表格内容</TD</TR
</TBODY
<TFOOT style="display:table-footer-group;font-weight:bold"
<TR
<TD colspan="2" align="center" style="font-weight:bold;border:3px double blue"每页都有的表尾</TD
</TR
</TFOOT
</TABLE
<input type=button value=" 打 印 " onclick=javascript:window.print()
</body
</html
来源:http://www.tulaoshi.com/n/20160129/1510259.html
看过《每页都有的表头和打印分页》的人还看了以下文章 更多>>
如果您有什么好的建议或者疑问,可以联系我们。 商务合作QQ:3272218541;3282258740。商务合作微信:13319608704;13319603564。
加好友请备注机构名称。让我们一起学习、一起进步tulaoshi.com 版权所有 © 2019 All Rights Reserved. 湘ICP备19009391号-3
微信公众号