利用CSS控制打印http://blog.csdn.net/net_lover/archive/2004/07/06/35228.aspx
解决方案 »
- jquery toggle();方法说是有从右到左的一个动画效果,为什么我实现不出?
- 一个简单的javascript模拟title代码
- 【高分挑错】请教关于JavaScript涉及面向对象的写法(涉及Ajax)
- 求助图片加上JS特效以后白色变透明了
- 正则表达式匹配含有s但不含油t单词
- JS 文件内部可否包含另一个js
- 98电脑上子窗体把值赋给父窗体时赋值不进去,2000以上都可以,这是什么原因?
- 简单问题。如何用按钮来跳转页面。(在线等)
- "::","->"这两个符号有什么用途,意义
- javascript 能否测出要上传的文件大小
- 我想不让JAVASCRIPT出错时不显示错误信息怎么实现?就是把它的错误禁掉(不要改IE)
- 我在网页上引用一个activex控件,如何实现自动版本更新??
@media print{
.xx {display:none}
}
</style>
<table width="600" class="xx" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" align="center">不想打印的表格</td>
</tr>
</table>
<html>
<body>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" align="center">打印内容</td>
</tr>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" align="center">不想打印的表格</td>
</tr>
</table>
<a ...>打印</a></body>
</html>
<style>
@media print{
.xx {display:none}
}
</style>
<body>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" align="center">打印内容</td>
</tr>
</table>
<table class=xx width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" align="center">不想打印的表格</td>
</tr>
</table>
<a ...>打印</a></body>
</html>