Print It Your Way

by Derek Featherstone

44 Reader Comments

Back to the Article
  1. Mmmbeer hit the nail on the head with “display:none” rather than “visibility: hidden” (at least for me). Worked like a charm – thanks! No more annoying whitespace!

    The print stylesheet I’m designing will hopefully keep people from having to cut/paste or jump through assorted hoops just to get an article’s text. These media-specific CSSs made a lot of sense, especially after reading Molly Holzschlag’s and Eric Raymond’s books – their approach seems to be “make it simple to code and use. Appealing and pragmatic.

    Great article!

    Copy & paste the code below to embed this comment.
  2. The idea is GR8, but it will be a pain to create a custom style sheets for each site I print from………..

    Copy & paste the code below to embed this comment.
  3. “I humbly submit to the esteemed authors of this site to please consider that 90% of everybody uses IE6. I hate it, it sucks”

    So do not hack your website to be full-featured in IE. If you stop making “all sites work in IE” it will cease to be the ultimate argument.

    Instead of tons hacks I suggest adding only one:
    <!—[if IE]>You want this page to print well? Get latest Opera or Firefox.<![endif]—>

    Copy & paste the code below to embed this comment.
  4. congratulations for the article.

    Copy & paste the code below to embed this comment.