Quote:
Originally Posted by SmeagolRO
Hello,
I'm trying to obtain different margins for a set of paragraphs in a HTML file. Inside the file it looks fine (it renders fine also) but the PRC on KindlePreviewer doesn't show the same results.
I'm trying to format with a larger margin the opening words of a chapter (like the memoires of prices Irulan from Dune). Seams that margin-left: xx applied to <p> or <div> via inline style or CSS doesn't work.
Would also be interesting to be applied for the songs from Lord of the Rings, for instance.
Any advice, please ?
|
Use <blockquote>. This will establish a left margin of 0.25 inch (0.5 inch on K1). These can be nested to achieve larger indentation.
Kindle format does not support very much CSS and a fraction of tag attributes - remember it derives from Mobipocket, which had to work on tiny screens and low powered CPUs. Go to Amazon DTP and download the publisher guidelines, the forums there also describe the supported HTML etc. Joshua Talent's 'Kindle Formatting' is probably still the best resource though it could use an update.