View Single Post
Old 06-19-2017, 02:30 PM   #10
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Aquinax View Post
Although it DOES manage to stretch the cover image across the entire screen, but not any other image in the ebook, no matter what size...

I notice in a lot of epubs converted by Calibre from mobi that they often have

@page {
margin-bottom: 5pt;
margin-top: 5pt
}


.calibre {
display: block;
font-size: 1em;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
padding-left: 0;
padding-right: 0
}
in CSS

And in every (x)html file
<body class="calibre">
Of course, the kindle cover is just an image, not HTML. But every actual page using these defaults will have a 5 pt margin.

So, if you haven't already, check all the CSS for similar formatting. Just set them to zero. You can apply margins to the text tags if you want that.
AlanHK is offline   Reply With Quote