Quote:
Originally Posted by Anak
In kepubs (where epubs don't) - each text line is followed by a blank line, while the blank line shouldn't be there at all. Seems a margin or padding issue (margin-bottom or padding-bottom).
Kepub looks like
line1
empty line
line 2
empty line
line 3
…
while it should look like
line 1
line 2
line 3
…
To me, these small imperfections are very easy to correct and contribute to a better reading experience.
|
I edited the kobo.css file manually to fix this problem. I was right, it is a margin/padding problem.
Code:
Original code (kobo.css)
…
p, div
{
font-size: 14pt;
line-height: 1.475em !important;
text-indent: 0 !important;
margin: 0 !important;
padding-top: 0 !important;
padding-bottom: 1.0em !important;
text-align: left !important;
}
…
Code:
Edited code (kobo.css)
…
p, div
{
font-size: 14pt;
line-height: 1.475em !important;
text-indent: 0 !important;
margin: 0 !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
text-align: left !important;
}
…
BTW: padding: 0 !important; also works just fine.
Kobo should use
padding(-bottom): 0 !important; as default.