Kindle Forum banner
1 - 6 of 6 Posts

·
Registered
Joined
·
5,162 Posts
Discussion Starter · #1 ·
I haven't had any issues with my ebooks with regards to fonts, colors, or background (at least that I know of).  In Word I usually leave everything default and that seems to work out fine once I save as filtered HTML, then format for mobi and epub.

For my latest ebook, though, I'm playing around with ways to shrink the file size a bit.  Even with the defaults, Word will still litter the HTML file with Font: whatever, Color: whatever, Background: (you get the drift) CSS snippets.  To me this seems like an obvious way to shave a few kilobytes off the file size, (getting rid of all mention of font, colors, and backgrounds).  When programming a typical webpage, this will just cause everything to render in the default (usually white Background and Times font or whatever the user has set).

My question is, will this work the same way once it's formatted for Mobi/Epub? I'm assuming such as ebooks are little more than formatted HTML, but figured I'd ask for any of those who are pure HTML ebook writers.

In other words, if I remove all this stuff will the book render on a Kindle or Nook fine, with those devices' settings overriding the HTML?

(and yes, I do plan on testing this before I upload :)
 

·
Registered
Joined
·
2,433 Posts
Yes.  :)

By chance, I was just reading the KDP official formatting guide this morning (you know, for a little light reading!) and they actually say that you should not specify colour, size, or font, alignment or anything else for body copy.  Indent and paragraph spacing is about all you should specify.  You should leave the rest out so that the device can set the body copy at whatever the device's "default" setting is.

So not only is it a way to shave off KBs, but it results in better formatting for your book.

Be aware that if you use conversion software like Calibre, it may add some of that stuff back in, even if it is not present in the original HTML.  Not sure if it does in the latest version, but it might.  What I do is convert to EPUB and then check in Sigil (free epub editor) to make sure all that stuff is fine.  Then convert the epub to mobi using KindleGen (or you can just upload it direct to KDP)
 

·
Registered
Joined
·
5,162 Posts
Discussion Starter · #3 ·
Thanks, Masha!

Awesome on the Sigil.  Have been using it too to clean up Calibre's epub oddness.
 

·
Registered
Joined
·
2,433 Posts
These says, I export to epub from Scrivener, then edit that with Sigil.  The latest version of Scrivener for Windows has a pretty good compiler. The one they've just released is SO much better than the earlier versions.

 
1 - 6 of 6 Posts
Top