Printer friendly pages

We recommend using media type specific CSS to hide out unnescessary HTML items like menus and change the overall appearance of the site for printing output.

For example if your site classes reside in main.css you can override some of them in print.css. In this case you would probably have something like this in your HTML HEAD:

<link rel="stylesheet" type="text/css" href="{$wwwroot}/styles.php" />
<link rel="stylesheet" type="text/css" href="{$wwwroot}/path/to/your/css/main.css" />
<link rel="stylesheet" type="text/css" href="{$wwwroot}/path/to/your/css/print.css" media="print" />

See more about media types at
http://www.w3.org/TR/REC-CSS2/media.html

Site development

About Saurus API / Creating page template tutorial / Creating content template tutorial / Applying custom design to page template checklist / Moderated comments / Stationary articles (header, footer etc) / First, last and n'th item in a foreach loop / Creating zebra tables (cycling values) / Site and Article editor CSS styles / How to set up website aliases / Customising v-shaped editor buttons / Using PHP in templates / Exchanging variables between templates and PHP / Profiles and Custom Assets / Site languages / Printer friendly pages / Enabling browser cache / Creating WAP pages / Configuring sitemap / Saurus 4.1 technical notes