I have generated an AZW3 catalogue for my Kindle, but I have some issues with the formatting. I had a look at it with the Calibre editor, and the CSS doesn't seem to be being applied properly. The CSS for p.line_item looks like this:
.line_item {
clear: both;
display: block;
font-family: monospace;
text-align: left;
text-indent: -2em;
margin: 0 0 0 2em;
}
The actual text is in the normal font, and when the line is wrapped the second part of the line is not indented. The editor's "Live CSS" shows the computed final styling as this:
font-family: serif;
font-size: 18px
line-height: 21px
page-break-inside: avoid
text-align: left
text-indent: -28px
The font-family and margin-left settings are being ignored. Similarly, the left margin setting for p.series is ignored.
Can anyone tell me what's going on here?