Quantcast
Channel: Brennan's Blog » css
Viewing all articles
Browse latest Browse all 10

Making Your Blog Printable

$
0
0

I read several great blogs regularly and when I find something is really worthwhile, especially when it is long, I like to print it out and find a good chair to read it. It is just easier to read off paper than staring at a screen. But not many blogs are print-friendly. Now you could offer a print icon that sends your readers to a special page that just gives them the content that should be printed, but all of that work really is not necessary.

What you can do instead is add an additional stylesheet to your blog with the media attribute set to print instead of screen. For my blog I call this special stylesheet print.css and I have it hide the sections of my blog which are only useful when viewed on the computer, such as the header, footer and navigation.

For the blogs I read that do not have print-friendly pages I use jQuery and Firebug to trim the unwanted portions of the page that I do not want printed by setting the display property to none for each element I want hidden. It works some of the time but nearly as well as using a print stylesheet. By making this print stylesheet available on your blog you can do this extra work for your readers.


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles



Latest Images