Quote:
Originally Posted by Nick_1964
I hope I don't offend you because I know how much time you spend on it, but, and that is a big but, this only works with sideloaded epubs..
|
Yes it only works properly if the book has zero left/right body margin and padding, and the only way you can be sure of that is to edit the book.
It might be possible to make a patch to override the body margin and padding in ePubs, but this would not work for all books, in particular it would not work for most books created or converted by Calibre because of the way that Calibre mangles the structure of the CSS. Nevertheless it might be worth trying to create a patch anyway, since most publishers don't use Calibre.
Edit: Actually, thinking about this a bit more, perhaps adding the following to the ePub stylesheet (either by patching the device's stylesheet or by adding it automatically when sideloading via Calibre's kobo_extra.css mechanism) would work, at least for the vast majority of the books I have seen:
Code:
body, body.calibre {
margin-left:0!important;
margin-right:0!important;
padding-left:0!important;
padding-right:0!important;
}
The main problem with creating a patch for the device's styesheet is making enough room to squeeze it in to the existing stylesheet.