摘要:
第一种方法:指定不打印区域使用CSS,定义一个.noprint的class,将不打印的内容放入这个class内。详细如下:<style media=print type="text/css">.noprint{visibility:hidden}</style>要打印的内容。哈哈!<p class="noprint">将不打印的代码放在这里。</p><a href="javascrīpt:window.print()" target="_self">打印& 阅读全文