|
-
Jun 24th, 2004, 06:43 PM
#1
Thread Starter
Addicted Member
How to hide print button when printing
Hi,
I am using window.print to print a web page. But the problem is the print button is also printed.
Is there a way to hide the button as to not appear when I print the form.
Many thanks.
-
Jun 25th, 2004, 06:30 AM
#2
Frenzied Member
It's possible with CSS2.
Look up @media print and @media screen - different styles for different media types.
You can assign a class to your print button and then set the visibility to hidden for print.
HTH
DJ
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|