The Kindle Fire clips the top margin (and top padding) on anything following a page break, while the Kindle for iOS and e-ink Kindles render it properly. Problems with Margin Rendering on Page Breaks Observe how this is rendered differently between the Kindle Fire, Kindle for iOS, and e-ink Kindles: You will notice that a top margin of 2em was declared in the preceding CSS. Unfortunately, at the time of this writing there is a discrepancy amongst the different devices with the way that the margin is rendered from the top of the Kindle's viewport to the heading with a page-break-before: always declaration. Here is some example CSS to force page breaks:Įxample of Page Breaks in the Kindle FireĪll versions of the Kindle (Kindle Fire, Kindle for iOS, and e-ink Kindles) recognize these page break properties of CSS. Typically you will want to make page breaks in relationships to major breaks in the content such as chapter headings, section breaks, and appendices. As you probably guessed, the former creates a page break before the markup selected is rendered and the latter creates a page break after the markup selected is rendered. There are two basic ways to do this: the page-break-before: always declaration and the page-break-after: always declaration. ![]() doc/.docx or, even worse, from a PDF, are bound to have pagination issues and a sloppy eBook.įorcing Page Breaks in the KindleWith CSS, forcing page breaks is very easy. People who make the misguided step of converting an eBook directly from a. ![]() A lack of page breaks at the proper location in eBooks is truly the mark of an amateur. But, that doesn't mean that page breaking at the right point in your content is unimportant. Hopefully by now you have realized that page numbers are not needed or wanted in reflowable content eBooks, since the page size is completely arbitrary based on the reader's device and personal settings. Proper page breaking vastly improves the reader's experience by clearly annotating breaks in content. However, inserting page breaks and the art of pagination has become essential with eBook design. Pick it up at Amazon for $6.99 today.įor a long time in web development, no one really cared about page breaks due to the simple fact that websites are designed to be scrolled. ![]() Looking for a complete guide on eBook design and development? Please consider The eBook Design and Development Guide, which contains everything you need to know about HTML, CSS, EPUB, and MOBI/KF8 to make an eBook like a pro.
0 Comments
Leave a Reply. |