View previous topic :: View next topic |
Author |
Message |
Merlin Guest
|
Posted: Thu May 11, 2006 3:04 pm Post subject: Remove comments from Printer-friendly version when printing |
|
|
Love the site and layout, but when I tried to print the "Printer-friendly" version of your peanut butter cookies recipe, I got 6 pages of recipe, and 8 pages of comments pertaining to how great the cookies are.
It seems to me that you can still include them on that page, but just hide them with this style tag:
Code: | @media print {
div#comments {display: none;}
} |
|
|
Back to top |
|
 |
Michael Chu
Joined: 10 May 2005 Posts: 1654 Location: Austin, TX (USA)
|
Posted: Thu May 11, 2006 3:15 pm Post subject: |
|
|
Right above where the comments begin is a link that will toggle the comments on and off in printer friendly mode. This way you can choose if you would like the comments to print or not. |
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|