站长资源网页制作

一个不错的html 打印代码支持翻页

整理:jimmy2024/12/27浏览2
简介ylbtech_html_print html打印代码,支持翻页 复制代码代码如下: 看看<</div> <div class="news_infos"><div id="MyContent">ylbtech_html_print <br><br>html打印代码,支持翻页 <br><br><br><u>复制代码</u>代码如下:<br><html> <br><head> <br><meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5"> <br><title>看看</title> <br><meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <br><!--media=print 这个属性可以在打印时有效--> <br><style media=print> <br>.Noprint{display:none;} <br>.PageNext{page-break-after: always;} <br></style> <br><style> <br>.tdp <br>{ <br>border-bottom: 1 solid #000000; <br>border-left: 1 solid #000000; <br>border-right: 0 solid #ffffff; <br>border-top: 0 solid #ffffff; <br>} <br>.tabp <br>{ <br>border-color: #000000 #000000 #000000 #000000; <br>border-style: solid; <br>border-top-width: 2px; <br>border-right-width: 2px; <br>border-bottom-width: 1px; <br>border-left-width: 1px; <br>} <br>.NOPRINT { <br>font-family: "宋体"; <br>font-size: 9pt; <br>} <br></style> <br></head> <br><body > <br><center class="Noprint" > <br><p> <br><OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0> <br></OBJECT> <br><input type=button value=打印 onclick=document.all.WebBrowser.ExecWB(6,1)> <br><input type=button value=直接打印 onclick=document.all.WebBrowser.ExecWB(6,6)> <br><input type=button value=页面设置 onclick=document.all.WebBrowser.ExecWB(8,1)> <br></p> <br><p> <input type=button value=打印预览 onclick=document.all.WebBrowser.ExecWB(7,1)> <br><br/> <br></p> <br><hr align="center" width="90%" size="1" noshade> <br></center> <br><table width="90%" border="0" align="center" cellpadding="2" cellspacing="0" class="tabp"> <br><tr> <br><td colspan="3" class="tdp">第1页</td> <br></tr> <br><tr> <br><td width="29%" class="tdp">&nbsp;</td> <br><td width="28%" class="tdp">&nbsp;</td> <br><td width="43%" class="tdp">&nbsp;</td> <br></tr> <br><tr> <br><td colspan="3" class="tdp">&nbsp;</td> <br></tr> <br><tr> <br><td colspan="3" class="tdp"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <br><tr> <br><td width="50%" class="tdp"><p>这样的报表</p> <br><p>对一般的要求就够了。</p></td> <br><td>&nbsp;</td> <br></tr> <br></table></td> <br></tr> <br></table> <br><hr align="center" width="90%" size="1" noshade class="NOPRINT" > <br><!--分页--> <br><div class="PageNext"></div> <br><table width="90%" border="0" align="center" cellpadding="2" cellspacing="0" class="tabp"> <br><tr> <br><td class="tdp">第2页</td> <br></tr> <br><tr> <br><td class="tdp">看到分页了吧</td> <br></tr> <br><tr> <br><td class="tdp">&nbsp;</td> <br></tr> <br><tr> <br><td class="tdp">&nbsp;</td> <br></tr> <br><tr> <br><td class="tdp"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <br><tr> <br><td width="50%" class="tdp"><p>这样的报表</p> <br><p>对一般的要求就够了。</p></td> <br><td>&nbsp;</td> <br></tr> <br></table></td> <br></tr> <br></table> <br><hr align="center" width="90%" size="1" noshade class="NOPRINT" > <br><div class="PageNext"></div> <br><table width="90%" border="0" align="center" cellpadding="2" cellspacing="0" class="tabp"> <br><tr> <br><td class="tdp">第3页</td> <br></tr> <br><tr> <br><td class="tdp">看到分页了吧</td> <br></tr> <br><tr> <br><td class="tdp">&nbsp;</td> <br></tr> <br><tr> <br><td class="tdp">&nbsp;</td> <br></tr> <br><tr> <br><td class="tdp"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <br><tr> <br><td width="50%" class="tdp"><p>这样的报表</p> <br><p>对一般的要求就够了。</p></td> <br><td>&nbsp;</td> <br></tr> <br></table></td> <br></tr> <br></table> <br></body> <br></html><br></div> </div> </div> <div class="share"> </div> <div class="nextinfo"> <p>上一篇:<a href="/3g/1/67485.html" title="disabled与readonly的作用及区别介绍">disabled与readonly的作用及区别介绍</a></p> <p>下一篇:<a href="/3g/1/67487.html" title="a标签的背景图在ie8下不显示问题的解决方法">a标签的背景图在ie8下不显示问题的解决方法</a></p> </div> <div class="otherlink"> <h2>最新资源</h2> <ul> <li><a href="/3g/1/623703.html" title="群星《奔赴!万人现场 第2期》[FLAC/分轨]">群星《奔赴!万人现场 第2期》[FLAC/分轨]</a></li> <li><a href="/3g/1/623702.html" title="群星《奇妙浪一夏 (上海迪士尼度假区音乐">群星《奇妙浪一夏 (上海迪士尼度假区音乐</a></li> <li><a href="/3g/1/623701.html" title="群星《奇妙浪一夏 (上海迪士尼度假区音乐">群星《奇妙浪一夏 (上海迪士尼度假区音乐</a></li> <li><a href="/3g/1/623700.html" title="【古典音乐】詹姆斯·高威《季节》1993[WA">【古典音乐】詹姆斯·高威《季节》1993[WA</a></li> <li><a href="/3g/1/623699.html" title="贝拉芳蒂《卡里普索之王》SACD[WAV+CUE]">贝拉芳蒂《卡里普索之王》SACD[WAV+CUE]</a></li> <li><a href="/3g/1/623698.html" title="小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE">小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE</a></li> <li><a href="/3g/1/623697.html" title="群星《欢迎来到我身边 电影原声专辑》[32">群星《欢迎来到我身边 电影原声专辑》[32</a></li> <li><a href="/3g/1/623696.html" title="群星《欢迎来到我身边 电影原声专辑》[FL">群星《欢迎来到我身边 电影原声专辑》[FL</a></li> <li><a href="/3g/1/623695.html" title="雷婷《梦里蓝天HQⅡ》 2023头版限量编号低">雷婷《梦里蓝天HQⅡ》 2023头版限量编号低</a></li> <li><a href="/3g/1/623694.html" title="群星《2024好听新歌42》AI调整音效【WAV分">群星《2024好听新歌42》AI调整音效【WAV分</a></li> </ul> </div> </div> <div class="sidebar"> </div> <div class="sidebar"> 友情链接:<a href="http://www.imxmx.com/" title="杰晶网络" target="_blank">杰晶网络</a> <a href="/" title="DDR爱好者之家" target="_blank">DDR爱好者之家</a> <a href="http://www.nqxw.com/" title="南强小屋" target="_blank">南强小屋</a> <a href="http://www.paidiu.com/" title="黑松山资源网" target="_blank">黑松山资源网</a> <a href="http://www.dyhadc.com/" title="白云城资源网" target="_blank">白云城资源网</a> <a href="/sitemap1.xml">站点地图</a> <a href="/sitemap.xml">SiteMap</a> </div> </article> <footer> <p>Design by <a href="http://m.ddrfans.com">DDR爱好者之家</a> <a href="http://m.ddrfans.com">http://m.ddrfans.com</a></p> </footer> <script src="/images3g/nav.js"></script> <script type="text/javascript"> jQuery.noConflict(); jQuery(function() { var elm = jQuery('#left_flow2'); var startPos = jQuery(elm).offset().top; jQuery.event.add(window, "scroll", function() { var p = jQuery(window).scrollTop(); jQuery(elm).css('position', ((p) > startPos) ? 'fixed' : ''); jQuery(elm).css('top', ((p) > startPos) ? '0' : ''); }); }); </script> </body> </html>