
: Body Text Formatting and Text Indentation for Kindle eBooks I am currently creating an ePUB3 file for converting it to Kindle format, and for it be compatible to other ereading devices that
I am currently creating an ePUB3 file for converting it to Kindle format, and for it be compatible to other ereading devices that support epub.
I was confused about whether Kindle allows the font style of the body text to be changed via css or not.
While reading Amazon Publishing Guidelines, Text Guideline 3.1.1 says:
The body text in a reflowable Kindle book (fiction and non-fiction)
must be all defaults. Amazon encourages content creators to use
creative styles for headings, special paragraphs, footnotes, tables of
contents, etc., but not for body text. The reason for this is that any
styling on body text in the HTML will override the user’s preferred
default reading settings. Users report such behavior as a poor reading
experience.
While at the same time in Guideline 3.1.9 , it says:
The primary or main font in a book should be set at the level.
This seems to be a bit contradictory, the first one seem to say that we can't change the font style (I take it to include specifying font family as well), and the second one says we can, can we or can we not specify a body font ? Am I misunderstanding this in some way ?
Also, another confusion that I have is with regards to inserting indentation in paragraphs in the Kindle ebooks. The guideline concerning this goes like this in Amazon Publishing Guidelines:
KindleGen automatically indents the first line of every paragraph by
default. To change this behavior, use the text-indent style on the
<p> tag.
However, when I try to change the text-indent property to my <p> tags , just to check how it works, it has no effect whatsoever on the indent on the paragraphs, what could be happening ? And even with no text-indent added, it doesn't seem like Amazon is inserting any default indentation, I mean I can't see it while previewing in Kindle Previewer.
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Sarah

: Centering images and text in ePUB and Kindle ebooks I am currently creating an ePUB3 file for converting it to Kindle format, and for it be compatible to other ereading devices that support

: Help creating a toc.ncx file for compatibility with epub 2 I have created a toc.ncx file in EPUB3 for backwards compatibility with EPUB2 . I used that file in a DRM-free book (replacing the
2 Comments
Sorted by latest first Latest Oldest Best
As a best practice, avoid font-size, margin or other css instructions when creating an ebook.
An ebook is supposed to be just text and be made available to the device "as is". This allows the user to change the font family and size as he/she wishes.
I know, being familiar with PDF or the layout with a webpage in the beginning the tendency is to translate all visual effects to ePub/Kindle. But please, remember that an ebook reader focuses on the reading and nothing else.
As a conclusion: stop thinking at how to manipulate the body, titles or the paragraphs. Just use clean, simple html tags (h1, h2, h3, p and if you really wish, em or strong).
Free books android app tbrJar TBR JAR Read Free books online gutenberg
You can certainly specify custom fonts for Kindle books; that's what section 3.1.9 is all about. Section 3.1.1 is only talking about the things that it mentions:
Forced alignment (because Amazon would rather force the ancient print relic of justified text throughout)
Body text size
Bold and italics on body text
White or black color for body text
White or black background color for body text
Oh, and customers say they like being able to change fonts, so maybe think about that before deciding to include your own fonts
The last point is the only thing that talks about choice of typeface, and it's purely advisory. Note also that "body text" refers to the main text styling of the document, not any text that appears in the <body> of the document (which would obviously be everything).
As far as p.body {text-indent: 1.2em;} not working (that's my preferred value, anyway): I've not had that problem. If you can provide some of the relevant xhtml and css, I'd be happy to see if there are any errors I can spot. Using a CSS validator is also a great option.
Free books android app tbrJar TBR JAR Read Free books online gutenberg