View Single Post
Old 09-27-2015, 01:47 PM   #40
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by Nick_1964 View Post
Is this valid as extra css, and does it adds the extra css when the kobo extended epub feature is disabled ?
body, body.calibre {
margin-left:0!important;
margin-right:0!important;
padding-left:0!important;
padding-right:0!important;
line-height: 1.2 !important;
text-indent: 0 !important;
widows:1;
orphans:1;
}
Putting the line-height and text-indent there is a bad idea, they won't do anything useful and in some books will cause problems. What I was suggesting was only intended as a way to zero the body left/right margin and padding in ePubs, nothing else.

The footer is exactly the same in KePubs and ePubs, any difference you see could be due to a @page bottom margin in ePubs (@page margins don't work in KePubs.) or other things, but if you have everything else the same then you can get the text as close to the footer in an ePub as in a KePub.

Last edited by GeoffR; 09-27-2015 at 05:44 PM. Reason: spelling
GeoffR is offline   Reply With Quote