Quote:
Originally Posted by anacreon
I've just had problems with a poor epub (converted to kepub when transferred to the reader), where I lost a line of text at the bottom (saw just the extreme top of a few letters). I noticed that it had no page_style, so copied one from a good epub and set it to 5 pt top and bottom.
I've tried adding it to my added CSS for conversions, so
body { orphans: 1; widows: 1; } div, p , blockquote {line-height: 1.0}, page { margin-bottom: 5pt; margin-top: 5pt }
but don't know whether it is the right syntax. The beginning was copied from some advice somewhere, and I have no knowledge of the language (Python is it?).
I'd welcome advice.
|
If you are converting to kepub then I doubt that will have any useful effect: the kepub reader ignores orphans/widows settings, overrides the line height with the height selected on the device, and already has large built-in margins so adding more with @page is probably not helpful.
Edit: On second thought,
div {line-height: 1.0} might have an effect, as the kepub reader only overrides line-height for
body, p, but I think it is just as likely to be a bad effect as a good one.