
On Feb 17, 2012, at 3:53 PM, Robert Gibbins wrote:
Can anybody see anything wrong with this? Would either of these versions look right on a kindle?
I got a Kindle yesterday as part of a promotion and did some coding for mobi last night. I believe there are at least two show-stoppers in your code. First, the Kindle cannot handle two classes together as in "no-indent verse". Second, it will not honor margin-anything. If you Google this: "Formatting poetry for EPUB and Kindle" and read what Ben Crowder wrote, you'll see some of the other limitations. In my generator, I used "text-indent" which does work on a Kindle, and "margin-left" which does work in an Epub. For HTML where I want to shrink-wrap and center a block of poetry, I use a centered div which I believe will not work in epub of mobi. I'm one day into coding for mobi but I believe this is accurate. I have to believe that Marcello has figured this all out and that the right markup is buried in epubmaker, which generates epub and mobi. Wish there were a place for best practices for both epub and mobi. --Roger