Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting visable/ invisable when printing

Status
Not open for further replies.

andycape

Programmer
Aug 22, 2003
177
ZA
what i meant to say below is if i use the following to show the button ONLY when NOT printing :


<style media=&quot;print&quot;>
.noPrint {display:none;}
</style>
<span class=&quot;noPrint&quot;>
<input type=button onCLick=&quot;javascript:window.print()&quot; value=&quot;Print this Report&quot;>
</span>

, how do i use the same method to show something only when printing ?

thanx
 
why would u want to do that? i would hate it to print something that i cant see...

Known is handfull, Unknown is worldfull
 
because i select a value from a select box, and when i print i dont want to see the select box, just the value i selected.

So when printing it will show text, when not printing it will show a select box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top