<style> @media Print
{
.print { DISPLAY: block }
.nprint { DISPLAY: none }
}
</style>
要打印的TABLE
<TABLE class="print" id="Table4" >
.
.
.
</TABLE>
不要打印的TABLE
<TABLE class="nprint" id="Table4" >
.
.
.
</TABLE>
<INPUT type="button" value="列 印" οnclick="window.print();" style="WIDTH: 49px; HEIGHT: 24px">
{
.print { DISPLAY: block }
.nprint { DISPLAY: none }
}
</style>
要打印的TABLE
<TABLE class="print" id="Table4" >
.
.
.
</TABLE>
不要打印的TABLE
<TABLE class="nprint" id="Table4" >
.
.
.
</TABLE>
<INPUT type="button" value="列 印" οnclick="window.print();" style="WIDTH: 49px; HEIGHT: 24px">