Spring Sale! Save 15% on WordPress books with code: SPRING22
Web Dev + WordPress + Security

Perishable Press Print CSS

Editor’s Note: This article applies exclusively to my Lithium theme, which is no longer the default site theme. Different themes may or may not include print style sheets of their own. Click here to check out the Lithium theme, to which this article applies. Click here to see a list of all available themes.

Print styles

Perishable Press now with fully printable articles! Check out the new print CSS stylesheet by checking out an article’s “Print Preview” from the browser’s “File” menu. Before the addition of special CSS styles for print versions, Press articles printed non-sequentially and included everything — buttons, banners, text fields, icons, and every odd list, break, and scrollbar — and looked utterly disastrous. Well thank heavens the nightmare is over. Articles now print like articles and pages now print like pages. Here are some articles that include some common post elements — text, code, lists, images, etc. — as demonstration1 of our fresh new CSS print styles.

Footnotes

1 Tested with Firefox 1.5.0.3, Internet Explorer 6.0.2900, and Netscape Navigator 8.0.1. For some mysterious reason yet to be determined, Opera 8.54 refused to cooperate, and thus may not prove worthwhile for printing Perishable Press articles. Don’t cry too much. Also, it should be noted that, for browsers other than Opera, regardless of how jumbled the links or other text may appear in Print Preview mode, the articles will indeed print according to CSS. This is due to CSS2 rules that append and print the full URL after each link.

Jeff Starr
About the Author
Jeff Starr = Web Developer. Security Specialist. WordPress Buff.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
USP Pro: Unlimited front-end forms for user-submitted posts and more.
Thoughts
Coding never ends. Bring a snack.
Not posting anything online usually means I’m busy working on my next project.
Today is my 50th B-day :)
Deep in the code.
Making good progress on my next pro plugin, Simple Ajax Chat Pro :)
Events definitely are speeding up. For those who are paying attention.
New wave of spam comments easily blocked, add =https:// to WP Discussion settings ▸ Disallowed Comment Keys.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.