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 / Site and Article editor CSS styles / Using PHP in templates / Profiles and Custom Assets / Site languages / Printer friendly pages / Site cache / Page compression / Enabling browser cache / Creating WAP pages / Configuring sitemap / Saurus 4.1 technical notes