
Solid, safe website tools.
Whatever your need, Will Bontrager builds powerful software solutions.
|
(Get Attention Ticker for your web site)
Unique Style Sheet For Printer-Friendly PageBy Will Bontrager Web pages that look good in a browser aren't always ideal for printing. To help those pages is why Master PFP (Master Printer-Friendly Page) was created. It takes a web page and generates a printer-friendly version. If you wish to use a style sheet needs to help format the page into a printer-friendly version, the style sheet can be specified this way: Insert the above somewhere in the BODY area, preferably as early as possible following the <body...> tag. Because the insert is between comment tags, the original page won't pick it up. However, when Master PFP makes a printer-friendly version of the page, it removes the BEGIN... and END... lines. And that allows the new style sheet to be live. Addendum: Someone just mentioned that an existing background image can be removed by putting this line into the style sheet for the printer-friendly page: November 19, 2005 Please note: Articles on this website are presented "as is". However - If you have a question about a CGI script, HTML, CSS, PHP, or JavaScript
Rate this blog post.
No page reload! |
|
|
© 1998-2001 William and Mari Bontrager |
|