Cooking For Engineers Forum Index Cooking For Engineers
Analytical cooking discussed.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Remove comments from Printer-friendly version when printing

 
Post new topic   Reply to topic    Cooking For Engineers Forum Index -> Cooking For Engineers Website Discussion
View previous topic :: View next topic  
Author Message
Merlin
Guest





PostPosted: Thu May 11, 2006 3:04 pm    Post subject: Remove comments from Printer-friendly version when printing Reply with quote

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: 1619
Location: Austin, TX (USA)

PostPosted: Thu May 11, 2006 3:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cooking For Engineers Forum Index -> Cooking For Engineers Website Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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