Hartija CSS Print Framework
Hartija is a CSS framework which aims to unite all the best CSS printing practices into one.
The project site does not provide much information about what it does, but looking it is not that hard to figure out if you look at the code. It works similar to a CSS reset stylesheet by standardizing almost all relevant tags. It also tries to utilize 100% page width to maximize available space. Finally, it provides a section to hide all blocks that need not appear in the print-out (header, footer, navigation, etc).
Let’s take a look at how it affects the CSS Vault Blog.
Screen:
Print using Hartija, with no modifications:
The package also comes with a sample page that can be used to preview how Hartija renders all the important HTML tags.
What is CSS Framework?
“A CSS framework is a library that is meant to allow for easier, more standards-compliant styling of a webpage using the Cascading Style Sheets language. Just like programming and scripting language libraries, CSS frameworks package a number of ready-made options for designing and outlaying a webpage.” - Wikipedia
How to use this Framework?
Just use it like normal CSS:
<link rel=”stylesheet” href=”print.css” type=”text/css” media=”print”>
Important: media set to “print”
When you print the browser will use the stylesheet defined for printing.



December 8th, 2008 at 4:39 pm
[...] See the rest here: Hartija CSS Print Framework [...]
December 11th, 2008 at 11:31 am
I’ve used a few CSS framework but I couldn’t stick to any one of them. I will check this out. Hope I can stick to this one.