How Printer friendly is your site?

Printer Ready to Print There is nothing worse than starting to read an article or a tutorial on a website and thinking I should print this out and read it on the train home (I print duplex and 4 pages to 1 sheet of A4, save the trees and all) to then look at the print preview to an absolute mess. Nine out of ten times an article will sit on 2 pages and adverts, comments will take up another 8.This then results in having to cut and past the web page into a document and formatting it so it’s readable which can take some time depending on the length of the article.

If your site is marked up properly then making it easier for us and the trees why not use a Cascading Style Sheet specifically for printing?  This isn’t difficult to achieve and can be done quite quickly.  Where do I start?

The starting point is setting up a Cascading Style Sheet specifically for printing this is down by adding:

<link rel=”stylesheet” type=”text/css” href=”PrintFriendly.css” media=”print” />

This tells the browser to look at this style sheet when printing.  In my print style sheet I have hidden anything that makes the site look pretty and have taken out elements such as my menu, links, archive list etc basically leaving behind the most important thing, Content.  Nothing complicated in this all I have done is assign a display:none; style to the page elements i don’t want to show on my print out.

For other style sheet print options check out : http://www.w3schools.com/css/css_ref_print.asp

If you write long posts please consider the environment and your audience and implement a “printer” friendly cascading style sheet.

3 Comments

  • Robin
    Posted February 13, 2008 1:03 am 0Likes

    I’d rather save the pages if I am traveling rather then printing them. Interesting points though, for making your content more accessible.

  • Simon Philp
    Posted February 15, 2008 8:16 am 0Likes

    If you save them though you still get everything else with it. I personally am only interested in the content. But if i know i will have my laptop and the train isn’t busy then i would print to pdf 🙂
    If there isn’t printer friendly css in place then the pdf can look a right mess and can at times be hard to follow :S
    Looking through alot of sites i have on my http://www.netvibes.com/siphilp (not fully populated yet) it would seem that 9/10 of them are nowhere near being printer friendly. Very surprising really as it’s so simple to do.

  • Vicky
    Posted March 9, 2008 5:45 pm 0Likes

    Who knew! LOL I had no idea. I will look into my blog to see if it is and will add the code if not. Thanks for the great tip.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: