Quote:
Originally Posted by arspr
The problem is solved adding any kind of "room" to the text in order to contain those negative side bearing characters. It doesn't matter if you use either padding or margin, or if you directly apply them to body, div or even p.
|
It doesn't work to apply to body, it has to be a lower level element. The point is that Calibre-created kepubs don't contain any lower level element that wraps the whole book,
so there is no way to fix the problem from from the device's built-in stylesheet, whereas official kepubs do have such a wrapper div.
Edit: On second thought, perhaps adding something something like
body div, body p {padding: 0 1%} would work ...
Quote:
(But curiously, if you add margin through the device GUI, the problem is NOT solved. WTH!?!?).
|
That is because for kepubs in normal reading mode, the slider margin is added as a body margin which doesn't fix the problem, and in full-screen mode I think it is done by changing the viewport size rather than through CSS.