Posted By

neal_grosskopf on 03/10/09


Tagged

css print


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

neal_grosskopf
WinterCrow


Go Green With CSS Print Stylesheets


 / Published in: CSS
 

URL: http://www.nealgrosskopf.com/tech/thread.asp?pid=39

Learn how to use CSS to save the environment by not wasting unnecessary paper and ink.

  1. @media print {
  2.  
  3. #header, #nav, #footer, #ads, img { display: none; }
  4. #content { line-height: 1em; width: 100%; }
  5. #content * { color: #000000; }
  6.  
  7. }

Report this snippet  

You need to login to post a comment.