天天看點

html 頁面列印并 分頁

<html>

<head>

<title>***XXX甯??肩???叉不涓?蹇?XX??浜虹?甯?璐圭?ㄦ?ヨ〃***</title>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<!--media=print 杩?涓?灞??у??浠ュ?ㄦ???版?舵????-->

<style media=print>

.Noprint{display:none;}

.PageNext{page-break-after: always;}

</style>

<style>

body,td,th

{

font-size: 12px;

}

.tdp

{

border-bottom: 1 solid #000000;

border-left: 1 solid #000000;

border-right: 0 solid #ffffff;

border-top: 0 solid #ffffff;

}

.tabp

{

border-color: #000000;

border-collapse:collapse;

}

.NOPRINT {

font-family: "瀹?浣?";

font-size: 12px;

}

</style>

<script language="javascript">

????var i=0;

?????? function zoomL(){

??????? i++;

??????? document.getElementById("f").style.zoom=1+i/3;

????}

?????? function zoomS(){

??????? i--;

??????? document.getElementById("f").style.zoom=1+i/3;

????}

</script>

</head>

<body >

<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0

VIEWASTEXT/>

<input type=button value=????慰nclick="document.all.WebBrowser.ExecWB(6,1)" class="NOPRINT">

<input type=button value=?存?ユ????慰nclick="document.all.WebBrowser.ExecWB(6,6)"

class="NOPRINT">

<input type=button value=椤甸?㈣?劇疆 慰nclick="document.all.WebBrowser.ExecWB(8,1)"

class="NOPRINT">

<input type=button value=???伴?瑙? 慰nclick="document.all.WebBrowser.ExecWB(7,1)"

class="NOPRINT">

<input type=button value=?懼ぇ 慰nclick="zoomL();" class="NOPRINT">

<input type=button value=缂╁? 慰nclick="zoomS();" class="NOPRINT">

<br/>

<table width="90%" align="center" cellpadding="0" cellspacing="0">

<tr align="center">

<td colspan="5"><font size="3">XXX甯??肩???叉不涓?蹇?XX??浜虹?甯?璐圭?ㄦ?ヨ〃***锛?1锛? </font></td>

</tr>

<tr>

<td>姹??諱漢娆?5</td>

<td>璐圭?ㄥ??璁?15853.12</td>

<td>缁?璁℃?ユ?? </td>

<td>?惰〃浜?023</td>

<td>?惰〃?ユ??锛?2004-05-13</td>

</tr>

</table>

<table width="90%" align="center" cellpadding="2" cellspacing="0"

bordercolor="#000000" class="tabp" id="f">

<tr>

<td >濮???</td>

<td >浣??㈠??lt;/td>

<td >绉?瀹?lt;/td>

<td >缁?甯??ユ??</td>

<td >?洪?㈡?ユ??</td>

<td >璐圭?ㄥ??璁?lt;/td>

<td >?諱?浜ゆ??璐圭??lt;/td>

<td >??绫葷?浠?璐圭??lt;/td>

<td >???諱?浜ゆ??璐?lt;/td>

</tr>

<tr>

<td >????</td>

<td >1001</td>

<td >1985-12-27</td>

<td >1999-9-9</td>

<td >22222222</td>

<td >aaa</td>

<td >fffffff</td>

<td >&nbsp;</td>

<td >ooooooooo</td>

</tr>

</table>

<hr align="center" width="90%" size="1" noshade class="NOPRINT" >

?

<!--??椤?->

<div class="PageNext"></div>

<table width="90%" align="center" cellpadding="2" cellspacing="0"

bordercolor="#000000" class="tabp">

<tr>

<td >绗?2椤?lt;/td>

</tr>

<tr>

<td >???闆??椤典???lt;/td>

</tr>

<tr>

<td >&nbsp;</td>

</tr>

<tr>

<td >&nbsp;</td>

</tr>

<tr>

<td ><table width="100%" cellspacing="0" cellpadding="0">

<tr>

<td width="50%" >杩??風???ヨ〃

瀵逛?????瑕?姹?灏卞?浜???</td>

<td>&nbsp;</td>

</tr>

</table></td>

</tr>

</table>

<table width="780%" class="Noprint">

<tr>

<td>?戒??芥????lt;/td>

</tr>

</table>

</body>

</html>

繼續閱讀