页面显示按钮,打印时不显示 .

来源:互联网 发布:python中choice 编辑:程序博客网 时间:2024/04/29 02:04

<html>
<head>
<style> @media print{ INPUT {display:none}}</style>
</HEAD>
<body>
<input type=button value=" 打  印 " onclick=javascript:window.print()>
</body>
</html>

原创粉丝点击