Kindle Text Formatting
How
to format Italics in headers and sentences for Kindle
Text formatting for the Kindle is still pretty basic.
If you want to format italics in a header (say the h2 header), then add the
following code between the and
tags in the page html (this is for verdana).
Kindle doesn't offer a range of fonts, my code is just set to verdana as default.
<!--
/* Font Definitions */
@font-face {
font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
h2 {
margin-top:16.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:20.0pt;
text-align:justify;
page-break-after:avoid;
font-
size:14.0pt;
font-family:Verdana;
font-style:italic;}
-->
This will give you the italics, with a 16 pt margin above the h2 header, and inset
it 20 pts from the left margin. Tweak the numbers to suit your needs
Do you want to include format italics
in the middle of a sentence? Put these tags around the text:
<em>This will be in italics</em>
Don't know html? Try using the free
software NVU at http://www.nvu.com
With NVU you can highlight the text and click the
I button and away you go.
Kindle supported html tags can be found at Kindle Tags
Phil Marks, March 20011
Back to
top
|