10.6 Creating Fixed-Layout Books With Text Pop-Ups With Multipage Background Images and Text
10.6 Creating Fixed-Layout Books With Text Pop-Ups With Multipage Background Images and Text
10.6 Creating Fixed-Layout Books With Text Pop-Ups With Multipage Background Images and Text
For the best user experience, Amazon strongly encourages publishers to design fixed-layout content to
maximize the available space of the screen dimensions. If the content has a different aspect ratio or size,
the Kindle devices and applications display it scaled to fit the screen, centered, and surrounded by a
white margin (letterbox).
Fixed-layout and other image-heavy content is more likely to be magnified because customers prefer to
read with Kindle Panel View or on devices with large screens. The best practice is to use the highest
resolution images possible. Amazon recommends submitting images scaled to support at least 2X
magnification with high quality. For example, if planning for the 2013 Kindle Fire HD 8.9", the image pixel
dimensions should be at least 3840 x 2400 (this matches the aspect ratio and would support 2X zoom).
Always use Kindle Previewer to validate the quality of the content.
10.5.4 Using Large Region Magnification Tap Targets in Fixed-Layout Books with Text Pop-Ups
The primary purpose of Region Magnification is to aid accessibility and is more effective when the tap
target is larger than the area being magnified. To enable a larger area, consider adding a padding of 20 to
40 pixels to the app-amzn-magnify anchor elements, but do not let the tap targets overlap.
10.6 Creating Fixed-Layout Books with Text Pop-Ups with Multipage Background
Images and Text
This section explains the proper way to create pages that contain a single background image and text.
While there are many potential solutions, goal is to ensure that markup is easily portable with
minimal effort. The provided template meets this goal by updating the CSS rules without changing the
HTML.
In the example below, the landscape spread is 1024 x 600 pixels, which is full-screen resolution for the
Kindle Fire (1st generation). The images for each page should have dimensions exactly half the width of
the full screen: 512 x 600 pixels. The unique parts of each element are labeled using CSS IDs; the
common parts use CSS classes. The left image displays on the left side of the spread. The right image is
shifted to the right side of the page by defining a margin-left style set to the width of the left side
image.
The end result is two pages stitched together to make a single image to be viewed in landscape mode.
This differs from a synthetic spread, where one page is visible in portrait mode and two side-by-side
pages are visible in landscape mode, which is unique to the comic book-type. Guidance on synthetic
spreads can be found in section 11.4.1.
HTML:
<div class="fs">
<div id="fs9-img" class="lPage"></div>
<div id="fs10-img" class="rPage"></div>
</div>
CSS:
#fs9-img {
background-image: url("../images/005a.jpg");
background-size:100% 100%;
#fs10-img {
background-image: url("../images/005b.jpg");
background-size:100% 100%;
div.fs {
height: 600px;
position: relative;
div.lPage {
position: absolute;
background-repeat: no-repeat;
height: 600px;
div.rPage {
position: absolute;
background-repeat: no-repeat;
height: 600px;
margin-left: 512px; /* this value equals the value of the left side image width */
The example in section 10.4.2, Requirement #2: Using Region Magnification (Pop-Ups), expands on the
two-page image example and illustrates how to place text on top of a background image: text is
positioned within a fixed spread block, uses percentages for the margin attribute, and is aligned and
spaced via CSS. Text pop-ups should be positioned so that they cover the corresponding text in the
background.
Never use non-breaking space ( ) characters for text alignment. Instead, use CSS top, right,
bottom and left to position <div> elements that contain absolutely positioned text. Use two adjacent
sides to position each <div> element. For example, top and left but never top, left, and bottom. CSS
text-indent and line-height are useful in aligning text within HTML block elements.
Graphic novels include a large amount of detail in images that displays on a 1920 x 1200 screen. To
overcome this and other accessibility concerns, Amazon encourages the use of customized content and
our Kindle Panel View feature, which optimizes the content for a high-resolution reading experience. For
more details on Kindle Comic Creator, see section 2.2.3.
This format supports Enhanced Typesetting, provided that there is no hybrid text in the eBook (see
section 11.6).
Important: Nested anchor tags are not supported in fixed-layout books. Fixed-layout books with nested
anchor tags will be suppressed.
While similar, the various types of fixed-layout formats have key differences. Unless explicitly stated,
guidance for fixed layout books with image pop-ups or Virtual Panels should not be applied to any other
format, such as fixed-layout books with text pop-ups.
Metadata Description
Layout can be specified using one of the following Required. Identifies the book as having a fixed
metadata fields: layout.
Metadata Description