Skip to main content

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. 

Serif

See the little lines at the top and bottom of the letters and numbers? These are called "serifs". These little lines help your eyes stay on the reading row. They're kind of like train tracks, and help make reading easier and faster.



Sans-Serif

Sans is a French word for "without" so Sans-Serif fonts do not have the lines. See the image below, no lines.


Sans-serif fonts are good reading in low resolution (like a computer screen or TV).

@media print {
  font-family: "Times New Roman", Georgia, Serif;
}

Comments

Popular posts from this blog

How to Add A Print Button To Your WebPage

You may already know that you can print a webpage by going to the browsers File menu and selecting the Print. The universal shortcut key to invoke the Print option is Ctrl AND P, or in the case of Mac OS X, Command AND P.  However, not everyone knows this, or cares to dig around for it.


That's why as a webmaster or blogger, it's your job to make sure readers can print your webpage or article when they want without having to mess with their browser or wondering what to do. If you make it convenient for your visitors to navigate and use your website, they'll come back regularly. It's as simple as that.

To improve the user experience on your website, it's always a great idea to create a custom Print button that users can use. Having a Print button on your website means your users won't have to waste their time figuring out how to print this article.

Another reason why you might want to have a custom print button on your site is to define what gets printed and wha…

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.



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 {
  margin:0;
  padding:0;
  line-height: 1.4em;
  word-spacing:1px;
  letter-spacing:0.2px;
  Font: 13px "Garamond", Times New Roman, serif; color: #000;
}

You can learn more about why you should use serif fonts for print here.
/*Remove Elements Not Needed for Print*/
#logo, #navigation, #sidebar, #footer {
  display:none;
}

Include Your Print CSS Fil…