Skip to main content

How To Create A Print CSS StyleSheet

Printing webpages can be a disaster. You end up printing the navigation, sidebars, footers, ads, videos, and somewhere in the middle, the actual content. This can waste a lot of paper and ink which isn't good for people's wallet or the environment.

Webpage Printed

Printing is expensive! The average cost of a printed color page is about $.15 and black and white is $.03 - $.07 (depending if it's laser or inkjet).

Remember this is your content and your brand, not having a Print Styesheet can cost you. Your content wont look good in printed format and you'll piss off your readers.

Create a Print.CSS File

/* Use Serif Fonts */

body {
  line-height: 1.4em;
  Font: 13px "Garamond", Times New Roman, serif; color: #000;

/*Remove Elements Not Needed for Print*/
#logo, #navigation, #sidebar, #footer {

Include Your Print CSS File In Your Header Tag

<link rel="stylesheet" href="" type="text/css" media="print" />

That's it, it's that simple!


Popular posts from this blog

Convert Your Blog Into an eBook

If you're a blogger, you've probably considered publishing your blog to print. The good news, with some simple custom CSS you can convert your blog into an eBook.
Another advantage of using HTML & CSS to format your eBook is you can convert to PDF and EPUB format. Images First step is to go through your blog and ensure you've got high quality images. General rule of thumb is bigger(physically) is better. You can have a large image on your website, but display it smaller. This will result in larger file sizes, and potentially slower page load, but with today's high speed internet this really isn't a concern (imagine netflix and youtube are streaming high definition video).

Go through your blog and replace any small images with larger images. Font Chances are, your blog is using a Sans-Serif font. Wait a minute, what's a sans-serif font you ask? Ok quick lesson. 
See the little lines at the top and bottom of the letters and numbers? These are called &qu…

Save Webpages as PDF

If you like to archive webpages, or share them, a great way is to create a PDF of the webpage. It's easy to do!

Option 1: Luxury PDFs is a cool web application that optimizes and formats webpages for Print or PDF.

Step 1: Copy the URL of the webpage you want to save as PDF.

Find a webpage you want to save as PDF. In the top of the browser is the address bar. URL is a fancy name for a webpage's address. Select the address/URL and right click on it and choose "copy".

Step 2: Paste the URL into

Now, go to and paste the URL into box that says "enter a URL".

Step 3: Click PDF

PrintFriendly will optimize and format the page for printing or PDF. Click PDF, then save and you're done.

Option 2: Print to PDFIn your browser, go to a webpage you want to save as PDF. You're going to use the Print command, however we're not going to actually print the page.

Step 1: Print Preview

Use the menus: File > Print