Quote:
Originally Posted by GeoffR
Neither! The second lines of both of those are wrong, it should add padding to the div not set it to zero. However the problem you have, with the whole page shifted to the right, is not affected by the second line, only the first line:
Code:
body { margin: 0 !important; padding: 0 !important; }
div#book-columns { padding-left: 0.2em !important; padding-right: 0.2em !important; }
|
Thanks.
What does the second line do exactly? In the thread I linked previously, it is mentioned that it adds 'soft margins', but I don't know about the rendering (and associated problems) on Kobo devices to guess what it means.
Quote:
(alternatively you could replace the div#book-columns selector on the second line with something like body>div or body>*, but div#book-columns div is wrong and will cause lots of problems for some books.
|
The extra "div" in red comes from the earlier linked thread. I'll remove it.
Quote:
To be sure that Calibre is adding the CSS correctly it is best to examine a book after it has been sent to the device. i.e. after sending it to the device, copy the kepub.epub file from the device back to the PC and unzip it to check that the stylesheet and html has been modified correctly.
|
It is adding the CSS. I've already checked. I'll try again this evening, switching the reading mode before opening a book.
This slider problem which you mentioned (and which I have already encountered):
Quote:
There is also a KePub bug that started in the 3.19 firmware where the margin slider stops working, for which the work-around it to exit the book and open it again. None of these problems seem to affect ePubs though.
|
Is it a consequence of the added CSS, or is this a bug Kobo should fix in another firmware update?