Quantcast
Channel: MobileRead Forums - Kindle Formats
Viewing all articles
Browse latest Browse all 861

p+p indent flaky

$
0
0
I've see a few books using this CSS:

p{margin:0;text-align:justify;}
p+p{text-indent:1.4em;}


This idea being that the first para of a section after a heading was unindented, as it should be, the following indented.

And this works in epub readers. But when converted to AZW3 and loaded in a Kindle (PW3 with 5.10.3) I found it erratic. Every few pages a paragraph would be unindented. Checking the source, the paras were all <p>.

Also, if I changed the fontsize, reflowed the text, often the para in question would become indented.

So is this a bug in the AZW3 or is the Kindle renderer itself buggy? Has this been fixed in later versions?

In any case, I'm giving up using this "+" trick as unreliable.

Viewing all articles
Browse latest Browse all 861

Trending Articles