Help Topics
Contact Us
Have feedback? Can't find your answer in our Help pages?
Attributes and Tags Supported by Enhanced Typesetting
Contents
- Supported Attributes
- Supported Tags
- Unsupported Attributes
- Workarounds to avoid frequent conversion failures
- Ignored Attributes and Tags
Enhanced Typesetting supports a wide range of attributes and tags.
Supported Attributes
The following attributes are currently supported with the indicated values.
| HTML Tag Attribute | Supported Values | 
| background-clip | border-box, padding-box, content-box | 
| background-color | any applicable value | 
| background-origin | border-box, padding-box, content-box | 
| background-position | any applicable value | 
| background-position-x | px,pt,cm,mm,em,rem,ex,%,in | 
| background-position-y | px,pt,cm,mm,em,rem,ex,%,in | 
| background-repeat | any applicable value | 
| background-repeat-x | any applicable value | 
| background-repeat-y | any applicable value | 
| background-size | contain, cover, initial, inherit, px, pt, cm, mm, em, ex, %, in | 
| background-sizex | px, pt, cm, mm, em, ex, %, in, rem | 
| background-sizey | px, pt, cm, mm, em, ex, %, in, rem | 
| border-bottom-color | any applicable value | 
| border-bottom-leftradius | pt, px, cm, %, ex, in, mm, em, rem | 
| border-bottom-rightradius | in, px, ex, pt, %, em, cm, mm, rem | 
| border-bottom-style | hidden, solid, dotted, dashed, double, ridge, groove, inset, outset, none | 
| border-bottom-width | mm, in, ex, px, pt, em, cm, rem,initial | 
| border-collapse | collapse, separate | 
| border-color | any applicable value | 
| border-left-color | any applicable value | 
| border-left-style | hidden, solid, dotted, dashed, double, ridge, groove, inset, outset, none | 
| border-left-width | mm, in, ex, px, pt, em, cm, rem, initial | 
| border-right-color | any applicable value | 
| border-right-style | hidden, solid, dotted, dashed, double, ridge, groove, inset, outset, none | 
| border-right-width | mm, in, ex, px, pt, em, cm, rem, initial | 
| border-style | hidden, solid, dotted, dashed, double, ridge, groove, inset, outset, none | 
| border-top-color | any applicable value | 
| border-top-left-radius | pt, px, ex, cm, mm, em, %, in | 
| border-top-right-radius | %, cm, em, pt, ex, px, in, mm, none | 
| border-top-style | hidden, solid, dotted, dashed, double, ridge, groove, inset, outset, none | 
| border-top-width | mm, in, ex, px, pt, em, cm, rem, initial | 
| border-vertical-spacing | mm, in, ex, em, cm, px, pt, % | 
| border-width | mm, in, ex, px, pt, em, cm, rem, initial | 
| box-align | right, left, center | 
| box-shadow | any applicable value | 
| box-sizing | border-box, padding-box, content-box | 
| break-after | always, auto, avoid | 
| break-before | always, auto, avoid | 
| break-inside | always, auto, avoid | 
| caption-side | top | 
| clear | left, right, both, none | 
| color | any applicable value | 
| column-rule-color | any applicable value | 
| dir | rtl, ltr | 
| display | inline, block, flex, inline flex, table cell, inherit, listitem | 
| empty-cells | hide | 
| float | left, right, snap-block | 
| font-family | any applicable value | 
| font-size | mm, in, ex, em, rem, cm, px, pt, % | 
| font-style | normal, italic, oblique | 
| font-variant | normal, small-caps | 
| font-weight | 100, 200, 300, 400, 500, 600, 700, 800, 900, normal, bold, bolder, lighter | 
| height | mm, in, ex, em, cm, px, pt, %, rem | 
| hyphens | auto, manual | 
| letter-spacing | normal, mm, in, ex, em, rem, cm, px, pt, initial | 
| line-height | normal, mm, in, em, cm, px, pt, %, rem | 
| list-style-position | outside, inside, initial | 
| list-style-type | decimal, disc, circle, inherit, initial, lower-alpha, lower-latin, lower-roman, none, upper-alpha, upper-latin, upper-roman, square | 
| margin | mm, in, em, cm, px, pt, %, rem, ex | 
| margin-after | mm, in, em, cm, px, pt, %, rem | 
| margin-before | mm, in, em, cm, px, pt, %, rem | 
| margin-bottom | mm, in, em, cm, px, pt, %, rem, ex | 
| margin-left | mm, in, em, cm, px, pt, %, rem, ex | 
| margin-right | mm, in, em, cm, px, pt, %, rem, ex | 
| margin-top | mm, in, em, cm, px, pt, %, rem, ex | 
| min-height | mm, in, em, cm, px, pt, %, rem | 
| opacity | any applicable value | 
| outline-color | any applicable value | 
| outline-offset | mm, in, ex, em, cm, px, pt, % | 
| outline-style | solid, dotted, dashed, double, ridge, none | 
| outline-width | mm, in, ex, em, cm, px, pt, % | 
| overflow | hidden | 
| overflow-x | hidden | 
| overflow-y | hidden | 
| padding | mm, in, em, cm, px, pt, %, rem, ex | 
| padding-bottom | mm, in, em, cm, px, pt, %, rem, ex | 
| padding-left | mm, in, em, cm, px, pt, %, rem, ex | 
| padding-right | mm, in, em, cm, px, pt, %, rem, ex | 
| padding-top | mm, in, em, cm, px, pt, %, rem, ex | 
| page-break-after | left, right, always, auto, avoid | 
| page-break-before | left, right, always, auto, avoid | 
| page-break-inside | always, auto, avoid | 
| ruby-align | start, center, space-around, space-between | 
| ruby-position | over | 
| text-align | left, right, center, justify | 
| text-combine-upright | all | 
| text-decoration | line-through, overline, underline | 
| text-fill-color | any applicable value | 
| text-indent | mm, in, ex, em, cm, px, pt, %, rem | 
| text-shadow | any applicable value | 
| text-stroke-color | any applicable value | 
| text-transform | lowercase, uppercase, capitalize, none | 
| transform | any applicable value | 
| unicode-bidi | bidi-override, normal, embed, initial, isolate, isolateoverride & plaintext | 
| vertical-align | sub, super, top, text-top, middle, bottom, text-bottom, baseline, mm, in, ex, px, pt, em, cm, % , rem , center | 
| visibility | visible, hidden, initial | 
| -webkit-text-emphasis-style | any applicable value | 
| -webkit-text-emphasis-color | any applicable value | 
| -webkit-text-emphasis-position | over, under | 
| -webkit-text-orientation | mixed, upright, sideways, sideways-right | 
| white-space | nowrap, normal | 
| width | auto, mm, in, ex, em, cm, px, pt, %, rem | 
| word-break | normal, keep-all, break-all | 
| word-spacing | normal, mm, in, ex, em, rem, cm, px, pt, initial | 
| writing-mode | horizontal-tb, vertical-rl | 
Supported Tags
Any tags with the text "any applicable attribute" or "any applicable value" support the attributes and values defined in on this page, in the Supported Attributes section.
| HTML Tag | HTML Attribute | Supported Values | 
| a | epub:type, data-app-amznmagnify, href | noteref | 
| address | any applicable attribute | any applicable value | 
| aside | epub:type | footnote | 
| b | any applicable attribute | any applicable value | 
| background-size | any applicable value | any applicable value | 
| bdi | any applicable attribute | any applicable value | 
| bdo | any applicable attribute | any applicable value | 
| blockquote | any applicable attribute | any applicable value | 
| body | bgcolor | any applicable value | 
| body | text | any applicable value | 
| caption | align | center, justify | 
| center | any applicable attribute | any applicable value | 
| cite | any applicable attribute | any applicable value | 
| code | any applicable attribute | any applicable value | 
| col | span | any applicable value | 
| col | width | %, px | 
| dd | any applicable attribute | any applicable value | 
| del | any applicable attribute | any applicable value | 
| div | align | center, left, right, justify | 
| div | epub:type | footnote | 
| dl | any applicable attribute | any applicable value | 
| em | any applicable attribute | any applicable value | 
| figure | any applicable attribute | any applicable value | 
| h1 | align | center, left, right, justify | 
| h2 | align | center, left, right, justify | 
| h3 | align | center, left, right, justify | 
| h4 | align | center, left, right, justify | 
| h5 | align | center, left, right, justify | 
| h6 | align | center, left, right, justify | 
| hr | align | center, left, right | 
| hr | noshade | any applicable value | 
| hr | size | px | 
| hr | width | px, % | 
| i | any applicable attribute | any applicable value | 
| image | height | %, px, em, pt | 
| image | width | %, px, em, pt | 
| img | align | center, middle, top, bottom, absbottom, absmiddle | 
| img | alt | any applicable value | 
| img | border | px, pt, cm, mm, em, rem, ex, in, % | 
| img | height | %, px, em, pt | 
| img | hspace | px | 
| img | vspace | px | 
| img | width | %, px, em, pt | 
| li | type | a, i, disc, square, circle, none, A, I | 
| li | value | any applicable value | 
| listing | any applicable attribute | any applicable value | 
| mark | any applicable attribute | any applicable value | 
| ol | start | any applicable value | 
| ol | type | a, i, none, A, I | 
| p | align | center, left, right, justify | 
| p | epub:type | footnote | 
| plaintext | any applicable attribute | any applicable value | 
| pre | any applicable attribute | any applicable value | 
| rb | any applicable attribute | any applicable value | 
| rt | any applicable attribute | any applicable value | 
| ruby | any applicable attribute | any applicable value | 
| s | any applicable attribute | any applicable value | 
| samp | any applicable attribute | any applicable value | 
| strike | any applicable attribute | any applicable value | 
| strong | any applicable attribute | any applicable value | 
| table | align | center, left, right | 
| table | bgcolor | any applicable value | 
| table | width | %, px | 
| tbody | align | center, left, right, justify | 
| td | align | center, left, right, justify | 
| td | bgcolor | any applicable value | 
| td | colspan | any applicable value | 
| td | height | %, px | 
| td | rowspan | any applicable value | 
| td | vertical-align | center, middle, top, bottom | 
| td | width | %, px | 
| tfoot | align | center, left, right, justify | 
| th | align | center, left, right, justify | 
| th | bgcolor | any applicable value | 
| th | colspan | any applicable value | 
| th | height | %, px | 
| th | rowspan | any applicable value | 
| th | vertical-align | center, middle, top, bottom | 
| th | Width | %, px | 
| thead | Align | center, left, right, justify | 
| thead | Bgcolor | any applicable value | 
| tr | Align | center, left, right, justify | 
| tr | Bgcolor | any applicable value | 
| tt | any applicable attribute | any applicable value | 
| ul | any applicable attribute | any applicable value | 
| var | any applicable attribute | any applicable value | 
| xmp | any applicable attribute | any applicable value | 
| webkit-background-size | any applicable value | any applicable value | 
| Error code (in Kindle Previewer) | Issue Location | Workaround to be followed | Before HTML Fixup | After HTML Fixup | 
|---|---|---|---|---|
| E24010: Hyperlink not resolved in TOC (One possible reason can be that the link points to a tag with style display:none) | TOC.xhtml | 
 | <body id="id1"> <section class="class1"> <header id="id3"> <h1 id="id2">What Is Art?</h1> </header> </section> </body> | <body> <section class="class1" id="id1"> <header id="id3"> <h1 id="id2">What Is Art?</h1> </header> </section> </body> | 
| E24010: Hyperlink not resolved in TOC (One possible reason can be that the link points to a tag with style display:none) | TOC.xhtml | 
 | Toc.xhtml: <a href="acknowledgments.xhtml#sample" amzn-src-id="5529">Acknowledgments</a> Source HTML: <p id="sample" style="display:none" class="first first-in-chapter first-full-width" amzn-src-id="5308">There were a series of people who helped make this book possible.</p> <div class="alignment-block alignment-block-align-center" amzn-src-id="5309"> | Toc.xhtml: <a href="acknowledgments.xhtml#sample" amzn-src-id="5529">Acknowledgments</a> Source HTML: <p style="display:none" class="first first-in-chapter first-full-width" amzn-src-id="5308">There were a series of people who helped make this book possible.</p> <div id="sample" class="alignment-block alignment-block-align-center" amzn-src-id="5309"> | 
| E24011: TOC section scope is not included in the parent chapter | NCX file | 
 | <ol> <li><a href="chapter01.xhtml#ch01">CHAPTER 1</a> <ol> <li><a href="chapter01.xhtml#ch01lev1_sec1">Why Is Questioning Important?</a></li> <ol> <li><a href="chapter02.xhtml#ch02lev1_sec1">What Is Critical Reading?</a></li> </ol> </ol> </li> </ol> | <ol> <li><a href="chapter01.xhtml#ch01">CHAPTER 1</a></li> <li><a href="chapter01.xhtml#ch01lev1_sec1">Why Is Questioning Important?</a></li> <li><a href="chapter02.xhtml#ch02lev1_sec1">What Is Critical Reading?</a></li> </ol> | 
| E3013: More number of characters are hidden using display:none than allowed limit. Limit: 10000 | CSS files | 
 | .problems .mhhe--answer_reveal--container { margin-left:3em; display: none; } | .problems .mhhe--answer_reveal--container { margin-left:3em; visibility: hidden; } | 
| E20006: There is more than one title defined in OPF metadata. | OPF file | 
 | <dc:title>The Results Fieldbook</dc:title> <dc:title id="Subtitle">Practical Strategies from Dramatically Improved Schools</dc:title> | <dc:title id="t1">The Results Fieldbook</dc:title> <meta refines="#t1" property="title-type">main</meta> <dc:title id="Subtitle">Practical Strategies from Dramatically Improved Schools</dc:title> | 
| E21027: EPUB file has more than one OPF file | OPF file | 
 | Syntax: <?xml version='1.0' encoding='UTF-8'?> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="pub-id" version="3.0"> <metadata> ... </metadata> <manifest> ... </manifest> <spine> ... </spine> <guide> .... </guide> </package> | |
| Cover not built with the book | OPF file | 
 | Metadata content: <meta name="Cover" content="cover-image"/> <item href="images/ath-saikiahaines-cover.jpeg" id="My_Cover" media-type="image/jpeg" properties="cover-image"/> | Metadata content: <meta name="Cover" content="cover-image"/> <item href="images/ath-saikiahaines-cover.jpeg" id="cover-image" media-type="image/jpeg"/> | 
Unsupported Attributes
The following attributes are not currently supported with the indicated values.
| HTML Tag Attribute | Unsupported Values | Alternative Value or Option | 
| background-image | linear gradient | Use a media query to specify a replacement, such as the background-color property. Reupload your corrected file for publication or retry the corrected file in Kindle Previewer. | 
| Base64 encoded images | not applicable | Use an online tool to decode the Base64 image and provide it as a normal binary image file. | 
| body, within Table of Contents HTML file | display: none, hidden | Remove display: none or hidden values from ToC HTML file. | 
| caption-side | bottom | Content styled with <caption-side: bottom> will be positioned at the top of the table like <caption-side:top>. | 
| float, within a table | left, right | Use a media query to specify a replacement for Kindle using the CSS ::first-letter Selector. | 
| SVG | namespace prefix | Remove the SVG namespace prefix from SVG element(s) within the file. | 
| video | any applicable value | Please visit Creating Kindle Editions with Audio/Video Content for video support options on Kindle. | 
| visibility | collapse | When using this tag within a table, use display:none to achieve a similar reading experience. When using this tag outside of a table, use visibility:hidden. | 
Ignored Attributes and Tags
Ignored Attributes
The following attributes are currently ignored when applied to any HTML tag.
| animation | 
| animation-delay | 
| animation-direction | 
| animation-duration | 
| animation-fill-mode | 
| animation-iteration-count | 
| animation-name | 
| animation-play-state | 
| animation-timing-function | 
| attributes | 
| background_color | 
| background-attachment | 
| box_shadow | 
| class | 
| column-break-before | 
| column-count | 
| column-gap | 
| column-width | 
| cursor | 
| data-ichitaro-para-stylename | 
| data-mappingid | 
| datetime | 
| div_align | 
| dropcap | 
| dropcap_chars | 
| dropcap_lines | 
| fill | 
| font-smoothing | 
| handlersprocessed | 
| hanging-punctuation | 
| hanging-punctuation | 
| hyphenate-character | 
| hyphenate-limit-after | 
| hyphenate-limit-before | 
| initial | 
| line-box-contain | 
| line-break | 
| min-height | 
| min-width | 
| nbsp-mode | 
| none | 
| onclick | 
| onload | 
| onreset | 
| onsubmit | 
| ordinal | 
| padding_bottom | 
| padding_top | 
| page | 
| pointer-events | 
| quotes | 
| speak | 
| src | 
| stroke | 
| stroke-linecap | 
| stroke-linejoin | 
| stroke-miterlimit | 
| stroke-width | 
| svg;height | 
| svg;width | 
| tabindex | 
| table-layout | 
| text_indent | 
| text_overflow | 
| text-combine | 
| text-decorations-in-effect | 
| text-overflow; | 
| text-rendering | 
| text-size-adjust | 
| title | 
| transition-delay | 
| transition-duration | 
| transition-property | 
| transition-timing-function | 
| user-select | 
| webkit_appearance | 
| webkit_border_image | 
| webkit_box_direction | 
| webkit_column_rule_color | 
| webkit_column_rule_style | 
| webkit_column_rule_width | 
| webkit_shape_outside | 
| webkit-appearance | 
| -webkit-border-image | 
| webkit-box-direction | 
| webkit-box-pack | 
| -webkit-box-shadow | 
| webkit-column-break-after | 
| -webkit-column-break-inside | 
| webkit-column-rule-color | 
| webkit-column-rule-style | 
| webkit-column-rule-width | 
| webkit-logical-width | 
| -webkit-margin-end | 
| webkit-margin-start | 
| -webkit-padding-start | 
| webkit-shape-outside | 
| webkit-shape-outside | 
| word-break | 
| word-wrap | 
| zoom | 
Attributes Ignored for Specific HTML Tags
| HTML Tag | Style Attribute | 
| a | rel, rev, shape, name, target, type | 
| applet | hspace, height, name, width, vspace, align, alt | 
| 
 | 
 | 
| body | bottommargin, link, rightmargin, vlink | 
| button | value, name, type | 
| caption-side | bottom | 
| display; | table-column-group;table-column;table-caption | 
| div | node-type, type | 
| frame | name | 
| frameset; | rows | 
| html | xmlns, encoding, version | 
| iframe | name, align, width, height | 
| image | xlink:href | 
| img | hspace | 
| input | align | 
| link | type, media, rel, href | 
| meta | name, http-equiv | 
| object | name, width, hspace, align, type, border, vspace, height | 
| param | value, type, name | 
| script | type, for | 
| style | type, media | 
| text-decoration | line-through, overline, underline, Underline solid,underline dotted,underline dashed,underline double,overline solid,overline dotted,overline dashed,overline double,line-through solid,,line-through dotted,line-through dashed,,line-through double,underline line-through,line-through underline,underline overline,line-through overline,overline line-through,overline underline,overline line-through underline,overline underline line-through,underline overline line-through,underline line-through overline,line-through overline underline,line-through underline overline,none | 
Ignored HTML Tags
The following tags are currently ignored regardless of the attributes, units, or values applied.
| area | big | ins | 
| kbd | map | max-height | 
| max-width | mbp:nu | reference | 
| small | time | 
 
                      
    
      