页面打印问题

来源:互联网 发布:windows phone最新手机 编辑:程序博客网 时间:2024/06/05 03:40

<style media=print>
.Noprint{display:none;}
.PageNext{page-break-after: always;}
</style>

 

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

 

<tr class='Noprint'>
     <td align=center>           
         <input class='button_sc' type=button value=打印预览 onclick=document.all.WebBrowser.ExecWB(7,1)>&nbsp;&nbsp;
         <input class="button_sc" type=button   value=打印     onclick=document.all.WebBrowser.ExecWB(6,1)>&nbsp;&nbsp;
         <input class="button_sc" type=button   value=页面设置     onclick=document.all.WebBrowser.ExecWB(8,1)> &nbsp;&nbsp;
         <input class="button_sc" type=button value=关闭 onclick=document.all.WebBrowser.ExecWB(45,1) />
     </td>
  </tr>

原创粉丝点击