Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

What do I need to consider when creating an HTML Print template?

I need to create a report template that will printed out. Does anyone have any tips, or suggestions? Can I just go about it the same way I would create a web page?

1 Answer

Not exactly. You would use different units like the point unit (pt) for font-size. You also want to consider hiding elements that don't need to be printed (like ad banners, etc.). Might also want to consider converting to black and white to save on color ink. Here's a good article on how to go about it:

http://www.smashingmagazine.com/2011/11/24/how-to-set-up-a-print-style-sheet/

It also lists some additional resources at the end for further reading.

Thanks!