Go Green With CSS Print Stylesheets


/ Published in: CSS
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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. }

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.