看看 <style media=print> <BR>.Noprint{display:none;} <BR>.PageNext{page-break-after: always;} <BR> <style> <BR>.tdp <BR>{ <BR>border-bottom: 1 solid #000000; <BR>border-left: 1 solid #000000; <BR>border-right: 0 solid #ffffff; <BR>border-top: 0 solid #ffffff; <BR>} <BR>.tabp <BR>{ <BR>border-color: #000000 #000000 #000000 #000000; <BR>border-style: solid; <BR>border-top-width: 2px; <BR>border-right-width: 2px; <BR>border-bottom-width: 1px; <BR>border-left-width: 1px; <BR>} <BR>.NOPRINT { <BR>font-family: "宋体"; <BR>font-size: 9pt; <BR>} <br><br>.Noprint{display:nNoprint ;} .PageNext{page-break-after: 總是;} <br>.tdp <body >{ <BR>border-bottom: 1固體#000000; <center class="Noprint" >左邊框:1 實心#000000; <BR>右邊框:0 實心#ffffff; <p>邊框頂部:0 實心#ffffff; <BR>} <OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0>.tabp <BR>. { 邊框顏色:#000000#000000#000000#000000; <BR>邊框樣式:實心; <input type=button value=打印 onclick=document.all.WebBrowser.ExecWB(6,1)>邊框頂部寬度:2px; <BR>右邊框寬度:2pxx <input type=button value=直接打印 onclick=document.all.WebBrowser.ExecWB(6,6)>寬度:2px; ; <BR>左邊框寬度:1px; <input type=button value=页面设置 onclick=document.all.WebBrowser.ExecWB(8,1)>} <BR>.NOPRINT { font-family: "宋體"; <BR>字體大小:9pt; <p>} <input type=button value=打印预览 onclick=document.all.WebBrowser.ExecWB(7,1)><BR>字體大小:9pt; <br/>} <BR><BR><🎜pt; /款式> <hr align="center" width="90%" size="1" noshade><BR> <br><br><table width="90%" border="0" align="center" cellpadding="2" cellspacing="0" class="tabp"> <BR><tr> <BR><td colspan="3" class="tdp">第1页 <BR> <BR><tr> <BR><td width="29%" class="tdp"> <BR><td width="28%" class="tdp"> <BR><td width="43%" class="tdp"> <BR> <BR><tr> <BR><td colspan="3" class="tdp"> <BR> <BR><tr> <BR><td colspan="3" class="tdp"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <BR><tr> <BR><td width="50%" class="tdp"><p>这样的报表 <BR><p>对一般的要求就够了。 <BR><td> <BR> <BR> <BR> <BR> <BR> <><hr align="center" width="90%" size="1" noshade class="NOPRINT" ><BR> <!--分页--><BR><div class="PageNext"><BR>< > <table width="90%" border="0" align="center" cellpadding="2" cellspacing="0" class="tabp"> <BR><tr> <BR><td class="tdp">第2页 <BR> <BR><tr> <BR><td class="tdp">看到分页了吧 <BR> <BR><tr> <BR><td class="tdp"> <BR> <BR><tr> <BR><td class="tdp"> <BR> <BR><tr> <BR><td class="tdp"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <BR><tr> <BR><td width="50%" class="tdp"><p>这样的报表 <BR><p>对一般的要求就够了。 <BR><td> <BR> <BR> <BR> <BR> <BR>