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).
|
Yah, but that's pretty easy to handle at the conversion layer. My "MobiMLizing" code applies an approximation of the CSS margin and padding rules to block level element and drops any accumulated vertical space into the "height" attributes of <p> and <div> tags as appropriate to produce something like the CSS specifies.