Quote:
Originally Posted by Jellby
The biggest problem with mobipocket, format-wise, is that (as far as I know) it only allows to set vertical spacing above elements, so if you want to have some space below a chapter heading, or a piece of poetry, or an indented block... you have to set the space (with "height") in the element below that (a paragraph, a div, or whatever).
|
No, I don't think that's true - or at least
.spaceabove { margin-top: 1.0em; }
.spacebelow { margin-bottom: 1.0em; }
both work well in a test HTML/CSS file converted to Mobipocket by Calibre. It's true that it margin-bottom is not recognised by Mobipocket Creator, and I have found other differences in tests of the same HTML/CSS rendered by Calibre or Mobipocket Creator - almost all in favour of Calibre.
For what it is worth I whole heartedly support the idea of working towards getting standard HTML/CSS which will work in all formats, and hope that we can agree on and share a standard template.
Regards, Alex