Matthew Lincoln, PhD Cultural Heritage Data & Info Architecture

Environmentally-friendly print.css

I ran accross this stylesheet by David Bushell while searching for a simple CSS for printing.

@media only print
	    /* hide every element within the body */
	    body * { display: none !important; }
	    /* add a friendy reminder not to waste paper after the body */
	    body:after { content: "Don't waste paper!"; }

Har har har.

Comments are enabled via

Cite this post:

Lincoln, Matthew D. "Environmentally-friendly print.css." Matthew Lincoln, PhD (blog), 10 Jul 2013,

Tagged in: Code