看看 <style media=print> <BR>.Noprint{display:none;} <BR>.PageNext{page-break-after: always;} <BR>.Noprint{display:none ;} .PageNext{page-break-after: 总是;} <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> <br>.tdp { <br>border-bottom: 1固体#000000; <br>左边框:1 实心#000000; <body >右边框:0 实心#ffffff; <BR>边框顶部:0 实心#ffffff; <center class="Noprint" >} <BR>.tabp <p>{ <BR>边框颜色:#000000#000000#000000#000000; <OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0>边框样式:实心; <BR>边框顶部宽度:2px; 右边框宽度:2px; <BR>边框底部宽度:1px; <input type=button value=打印 onclick=document.all.WebBrowser.ExecWB(6,1)>左边框宽度:1px; <BR>} <input type=button value=直接打印 onclick=document.all.WebBrowser.ExecWB(6,6)>.NOPRINT { <BR>font-family: "宋体"; <input type=button value=页面设置 onclick=document.all.WebBrowser.ExecWB(8,1)>字体大小:9pt; <BR>} <BR></风格> <p><input type=button value=打印预览 onclick=document.all.WebBrowser.ExecWB(7,1)><BR> <br/><BR> <BR><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>