Who ordered the scrambled brains?

Memoirs of a Pilipino-Irishman

How to print MSDN Magazine articles

I almost died trying to figure out how to print an article off the vapid publishing engine that is the msdn website today. Firefox won’t print beyond the first page. IE won’t print the collapsed regions. Saving the page to a file and editing the styling on the collapsed regions seems to work fine in IE until you try to print and nothing appears. Now that’s what I call annoying!

I finally set upon the task of finding out why Firefox only prints one page. It turns out it’s the utterly pointless “overflow: auto” style set on the body tag. Why oh WHY is that there in the first place? So here’s how to print an MSDN Magazine article off the MSDN website.


  • Firefox
  • Firebug
  • MSDN article
  • These instructions
  • Printer

Using Firebug, find and inspect a collapsed region. It will have a class of “MTPS_CollapsibleSection”. Then use the Firebug interface to add the following rules to that class.

display:block !important;
height:auto !important;

Next disable the “overflow” rule on the body tag.

Optionally, open the Print Preview and select 125% under the Scale dropdown.

Finally, print, without dying. Remember to do 2 pages per side to save our dearest Mother Earth.

Follow me on Twitter for the latest updates, and make sure to check out my community opinion social networking project, Blocvox.

No Comments Yet

Commenting options at bottom.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Comments are subject to moderation.

Commenting Options

Notify me of followup comments via-email

| Comment feed for this page | Trackback URL