Commit graph

2 commits

Author SHA1 Message Date
Thijs Kinkhorst
3bcfa15f47 Implement printer friendly through CSS also for non-javascript. This
will bring up a new window with read_body loaded with a message box
telling the user to print it. Also tweak the print stylesheet a bit.
2008-05-09 16:38:01 +00:00
Thijs Kinkhorst
811297b6ed Add preliminary printerfriendly-through-css feature. This adds a new print.css
stylesheet that is used when using the browser's print (or print preview) function.
A problem is that due to the frames, it won't work if selecting File -> Print because
this will print webmail.php instead of read_body. To see it in action, open read_body
on its own and use File -> Print Preview.

It would be nice if this could replace the printer_friendly function over time, because
it's purely css based and thus doesn't require extra code. For that we need to finetune
the sheet and most importantly, conquer the frames-problem in some smart way.
2008-05-08 10:19:18 +00:00