Quote:
Originally Posted by kaiaua
I am new to making ebooks, but I have to do a lot, about 60, which is a backlist for a small press publisher.
This must be an old question, but the epub file I've made is formatted with large top margins - it's the style of the book, which is very short stories that begin part way down each page.
Its format looks great on a kobo, or on kindle previewer, or calibre ereader, etc. With margin-top set to 180px; in the style sheet.
However, when it goes into Apple Books on an ipad the top margins are gone. And there are blank pages between the short chapters where the top margins should be. Is this a familiar problem with a well-known solution? How to have top-margin padding show up on the Apple Books app?
thanks.
|
For one, this is an eBook and what may work for a print book (pBook) does not always work for an eBook. You also have to remember that with an eBook, you could be reading on many different size screens. For example, reading on an iPhone SE is a very different screen size then reading on a Kobo Libra H2O or a Kobo Clara HD. On an iPhone Se, the top margin space that you've set won't work well at all. it will be way too much space at the top. A pBook is formatted for the size the pages are. your 180px (It is not a good idea to use a fixed size measurement which px is) is about 11em. That's a huge amount of wasted screen space and will look awful. The smaller the screen, the worse it will be. Don't duplicate the pBook formatting if that's not going to work as an eBook. I've seen pBook formatting duplicated too many times when it doesn't work for an eBook.. Use formatting that works for an eBook.
As for why it's not working in books (formerly iBooks), it might be that books doesn't like px in the margin. Try em and see what happens. If it still doesn't work, post the CS and the relevant HTML code so we can see how this is being coded.