Chapter 12. How Do I Create Styles for Printing?
Web designers put a lot of effort into creating pages that look great onscreen but rarely give a thought to what they look like when printed out. How often have you bought something online and wanted to print out the invoice? Instead of a professional-looking document, you get all the website navigation down the side, leaving not enough room for the figures that indicate how much you paid. If you're lucky, they come out on a second sheet. It's not at all necessary. CSS gives you considerable control over the way your web pages print out. There's no need to create a separate page for printing. It can all be done with a style sheet.
In this chapter, I'll show you how to create a print style sheet and ...
Get Getting StartED with CSS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.