Lazy web designers undermine print stylesheets

Since the dawn of time, web designers have had the tools to provide “print stylesheets” with their websites – invisible instructions that tell a user’s computer how to format the page when it’s printed, rather than displayed on a screen. After all, what’s the point in printing site navigation, footers, sidebars, large, decorative colour images etc, when they can be excluded from a page as it’s sent to the printer?

But instead of using this tool web designers have, for the most part, created printable-versions of pages. These are entirely separate pages which have all the junk stripped out, which have to be kept up-to-date when the main page changes, and which are downloaded when a user clicks a link normally labelled something like “Print version”.

I fear this has broken the usefulness of the print stylesheet. A user visiting a well coded site which has a print stylesheet may well hesitate before printing, previous experience causing them to think “this will print badly because there’s no printable version”, even when it would print well.

What to do? My untested reckoning is that the best option would be to include a “printable version” link which just makes the screen switch to using the print stylesheet instructions, rather than downloading an actual separate version of the page. As long as there’s a link to switch back to the normal style, job done.

It’s an ugly solution to an awkward problem, but it might just work. D’ya think?

4 thoughts on “Lazy web designers undermine print stylesheets

  1. I quite like your proposed solution, simply because it maximises accessibility of the printable version whilst promoting the use of a print stylesheet over a separate page.

    I would even dare to call it ‘elegant’ rather than ‘ugly’, because there’s a symmetry between accommodating the needs of the user and implementing things the ‘right’ way.

  2. Often websites sell different adverts for printed pages (usually for printer cartridges – boom!) so the print url has to be distinct.

    I’ve used url query-strings to generate the print page – using a simple if/else statement to remove links to the ‘screen’ stylesheet & strip the ‘print’ attribute from the print styles.

  3. I like the idea of using print stylesheets – I often think a seperate duplicate page that’s printer friendly is simply laziness on the web designer’s behalf.

Comments are closed.