I wanted to print a page of my site today to show to someone who I knew would not want to go to the hassle of firing up a browser and having me dictate the address to them. This got me thinking about a stylesheet for printing.
Investing 30 minutes and hacking my existing CSS produced a new file that formats just the content of each page. Go ahead and select "Print preview" to see what I mean.
Basically, this sheet sets the colours to black, the backgrounds to transparent, and hides a bunch of divs.
I love CSS.
Posted at August 8, 2003 8:47 PMComments are closed