28 Comments
- gatekillr, on 10/12/2007, -0/+19There's no rule that the owner of the content can't submit their own articles.
- aNoble, on 10/12/2007, -0/+9It really is sad how few people even know about print stylesheets much less use them. The beauty of it is they usually takes about 5-10 minutes to make.
If you're planning on writing a print stylesheet for you site you may want to look into making a handheld stylesheet too (although that's not quite as simple thanks to IE mobile). And if you're really committed you can even make a stylesheet for screen readers. - gatekillr, on 10/12/2007, -0/+7Very good article... Another one to note is: http://www.alistapart.com/articles/printtopreview/
- Sheco, on 10/12/2007, -0/+4I'm waiting for css page breaks, they'll be available in CSS3, right?
- ForrestFrazier, on 10/12/2007, -3/+6What's really sad is the author of this article doesn't take his own advise! If you are going to write a piece about the value of print style sheets perhaps you should use one.
- madmac66, on 10/12/2007, -0/+3that was all news to me. very useful tip. thanks to 'the community' once again
- duality, on 10/12/2007, -1/+4We are the users of Digg. We will make our own decisions about what is crap and what isn't. I personally don't need you or anybody else making that decision for me.
So to answer your question: yes, everybody (except you) is happy with that arrangement. - inkswamp, on 10/12/2007, -0/+2I discovered this whole print stylesheet thing a couple years ago and have been using them quite a bit. I spread the word to other web developers and designers that I know and I have yet to meet one who had even the slightest inkling about it. Most of them give me this look like I'm insane until I demonstrate it for them, and then it becomes a look of surprise. I'm not sure why it's such a rare bit of knowledge but it shouldn't be.
To this day, I still sort of scoff at the "printer friendly" link that is so prominently displayed on most web sites. That's always been a bit of a kludge anyway. - TPHigginbotham, on 10/12/2007, -0/+2I don't agree with the use of !important either but it is supported in IE6 and 7 (IE5.5 and under do not provide support). It's much better to set an attribute's importance through correct specificity. A good article explaining CSS precedence can be found at http://www.stuffandnonsense.co.uk/archives/css_specificity_wars.html
- jonathansnook, on 10/12/2007, -0/+1you have some limited control over page breaks as it is. Unfortunately, it's pretty much limited to forcing page breaks.
- kevinisnthere, on 10/12/2007, -0/+1That's why you can Digg stuff if you like it. Personally, I find this useful and I don't really care about the source.
- halfnormalform, on 10/12/2007, -0/+1@gatekillr:
Dugg for alistapart mention. I love that site. - inkswamp, on 10/12/2007, -1/+2No idea why you're being dugg down, but you're right about it being relatively easy. In fact, if someone wants to create a very simple way to implement a print stylesheet without spending a lot of time on it, they can literally create a "no-print" class and just surround the non-printer elements with divs of that class. That's sort of a battering ram approach to it, but if you needed to do it quickly, that would work.
- crawfishsoul, on 10/12/2007, -6/+7[delete]comment[/delete]
- Malachai, on 10/12/2007, -0/+1I like that website.
- inactive, on 10/12/2007, -7/+8Creating print css is relatively easy. Its a matter of showing only the content area, everything else, display: none. If you have a typography stylesheet, set its media type to 'all' and the print.css will include that with its formatting.
I don't agree with the use of !important either, because I believe I read that its no longer supported/affected with IE6-7. - ziruzhu, on 10/12/2007, -1/+1Nice tip. Thanks.
- joebloom, on 10/12/2007, -5/+5Nice article.
- javster, on 10/12/2007, -1/+1Following latest designs ( http://feedraider.com/u/css ) it's clear print style sheets aren't all that common.
- ttfadia, on 10/12/2007, -1/+1Yay Buffalo and UB!
- halfnormalform, on 10/12/2007, -1/+1For things that need to be printed on a regular basis, I like creating PDFs on the fly using the freeware FPDF (http://www.fpdf.org/) class for PHP. It's pretty easy to set things up to paginate, no matter the length. (But you do need to know PHP and have a web host that supports it.)
And I strongly agree with the author that it's confusing to have a printed page look drastically different from the browser's rendering. (Again, that's why PDFs are great...you see exactly what prints). - broeks, on 10/12/2007, -2/+0XSLT FTW!
- kevincannon, on 10/12/2007, -5/+2Yup. It's particularly good to see someone point out users actually expect to print out what they saw on screen, and to radically depart from that is probably not a good idea.
- NickyBatts, on 10/12/2007, -6/+1BUFFALO IN THE HIZZY!!!
*rapture* - tont0r, on 10/12/2007, -9/+0"There's no rule that the owner of the content can't submit their own articles."
So everyone is happy whenever someone posts their blogs crap? - tont0r, on 10/12/2007, -26/+2Id feel happier if he didnt submit stuff from his own website.


What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official