<style media=print>.Noprint{display:none;}style> <object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">object><div class="Noprint" style="position:absolute;top:0px;left:0px;z-index:4" > <input type=button value=打印 onclick=document.all.WebBrowser.ExecWB(6,1)> <input type=button value=直接打印 onclick=document.all.WebBrowser.ExecWB(6,6)> <input type=button value=页面设置 onclick=document.all.WebBrowser.ExecWB(8,1)> <input type=button value=打印预览 onclick=document.all.WebBrowser.ExecWB(7,1)> div>
Original: https://www.cnblogs.com/huanongying/p/7236115.html
Author: 花弄影
Title: HTML页面打印
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/620205/
转载文章受原作者版权保护。转载请注明原作者出处!