Re: Printer friendly pages
"Paul Lesniewski" <[email protected]>
| Newsgroups | gmane.mail.squirrelmail.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, May 9, 2008 at 7:28 AM, Thijs Kinkhorst <[email protected]> wrote: > On Fri, May 9, 2008 16:23, Paul Lesniewski wrote: >>> I've looked into a way to use the print CSS to just hide or get rid of >>> the left frame when print is invoked on webmail.php, but couldn't get it >>> done. If someone gets that working, then that would of course also be >>> great. >> >> Can't the default style sheet have a display:none for media:<anything >> but print>?? > > Sorry, don't follow what you mean... My css is rusty ATM, but I was pretty sure you could specify any css attributes you want to differently for each media type. So in the left frame's style sheet (might need to split one off for it), set display:none for the print media type (sorry, reverse logic in my previous post above). Something like: <style type="text/css" media="print"> body { visibility: hidden; display: none } ... you can add any extra print-only style here... </style> ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ----- squirrelmail-devel mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel