View Single Post
Old 07-18-2009, 07:20 AM   #29
AlexBell
Wizard
AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.
 
AlexBell's Avatar
 
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
Quote:
Originally Posted by Jellby View Post
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
AlexBell is offline   Reply With Quote