<OBJECT   id=WebBrowser   classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2   height=0   width=0   VIEWASTEXT>   </OBJECT>        
      <input       type=button       value=打印                       onclick="document.all.WebBrowser.ExecWB(6,1)"       class="NOPRINT">        
      <input       type=button       value=直接打印       onclick="document.all.WebBrowser.ExecWB(6,6)"       class="NOPRINT">        
      <input       type=button       value=页面设置       onclick="document.all.WebBrowser.ExecWB(8,1)"       class="NOPRINT">        
      <input       type=button       value=打印预览       onclick="document.all.WebBrowser.ExecWB(7,1)"       class="NOPRINT">    
  <!--分页-->   
 <div       class="PageNext"></div>    

  <!--media=print       这个属性可以在打印时有效-->        
      <style       media=print>        
      .Noprint{display:none;}        
      .PageNext{page-break-after:       always;}        
      </style>        

相关文章:

  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2021-10-08
猜你喜欢
  • 2022-12-23
  • 2022-03-09
  • 2021-12-13
  • 2022-12-23
  • 2021-06-20
相关资源
相似解决方案