03.04.2012 Views

Amazon Guidelines

Guidelines for self created

Guidelines for self created

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Publishing on Kindle: <strong>Guidelines</strong> for Publishers<br />

Chapter 2<br />

Chapter 3<br />

Subchapter 1<br />

Subchapter 2<br />

Chapter 4<br />

Subchapter 1<br />

Section 2<br />

Using CSS classes:<br />

<br />

div.chapter { margin-left: 1em}<br />

div.subchapter { margin-left: 2em}<br />

<br />

Section 1<br />

Chapter 1<br />

Chapter 2<br />

Chapter 3<br />

Subchapter 1<br />

Subchapter 2<br />

Chapter 4<br />

Subchapter 1<br />

Section 2<br />

3.8.2 Styling Guideline #2: Format Sidebars Correctly<br />

When inserting sidebar content into the main flow of a book formatted for Kindle Format 8, use float via<br />

CSS. However, if the book is formatted for Mobi 7, use the HTML tags before and after the sidebar<br />

to differentiate it from the main body of text. Avoid using negative em values when specifying dimensions<br />

for a float element.<br />

3.9 HTML <strong>Guidelines</strong><br />

3.9.1 HTML Guideline #1: Constructing Well-Formed HTML Documents (XHTML)<br />

Kindle Format 8 supports most HTML 5.0 features, although the following HTML features are not fully<br />

supported: forms, frames, and JavaScript.<br />

When creating source HTML or XHTML for the Kindle, refer to one of the following books as a primer on<br />

constructing well-formed HTML documents:<br />

HTML, XHTML, and CSS by Elizabeth Castro (published by Peachpit Press):<br />

http://www.amazon.com/HTML-XHTML-and-CSS/dp/B000SEFC5Q<br />

Beginning HTML with CSS and XHTML: Modern Guide and Reference by David Schultz and Craig Cook<br />

(published by Apress): http://www.amazon.com/Beginning-HTML-CSS-XHTML-<br />

Reference/dp/B001D25ZPE<br />

Beginning Web Programming with HTML, XHTML, and CSS by John Duckett (published by Wrox):<br />

http://www.amazon.com/Beginning-Programming-HTML-XHTML-ebook/dp/B000VZQVVG<br />

3.9.2 HTML Guideline #2: Anchors Must Be Added Before Formatting Tags<br />

Correct: Chapter 1<br />

Incorrect: Chapter 1<br />

3.9.3 HTML Guideline #3: EPUB Guide Items Are Optional<br />

Guide items are an optional feature in the EPUB format. Kindle provides support for the cover, TOC, and<br />

text guide items.<br />

3.9.4 HTML Guideline #4: Using Single Column Layout and Avoiding Absolute Positions<br />

Create the content using single column layout and avoid using position:absolute for alignments.<br />

3.9.5 HTML Guideline #5: Using position:absolute for Text on Image<br />

For text on an image that needs to be positioned exactly, use the position:absolute attribute. Only<br />

use this attribute for books that need a fixed layout.<br />

Kindle Publishing <strong>Guidelines</strong> <strong>Amazon</strong>.com 22

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!