The text on the dedication page of an epub book will only appear at the very top of the page/screen in Kindle Previewer 3. However, it looks fine in iBooks. I don't need the text perfectly vertically aligned in the center of the page but would like it to be down a bit from the very top of the page. But nothing I try is getting the text down there.
I'm using the latest version of Indesign--though the issue exists in 16.4 and am exporting to epub 2.0.1 as well as 3.0. I've tried using paragraph styles, specifically the "space before" function, to no avail. Have also tried to insert nonbreaking spaces above the text--also to no avail.
Would love any advice anyone has.
With epubs with flexible flow you have only very limited possiblities to afford a specific vertical text distribution. Some possiblities:
Be aware that multiple returns are never allowed, neither in print nor on web. Use space before and after in paragraph styles.
Willi, thanks for the help. You mentioned never use multiple returns. Is this okay if I use nonbreaking spaces? Is there some disastrous consequence to using nonbreaking spaces that I'm not aware of? Thanks again.
The rule in publication design is to never use multiple white spaces of any kind. It's a mark of not understanding how to properly set up styles, and while you can "format" a document using multiple returns, spaces, tabs etc. (and every secretary and grad student does) it won't be good for much besides sending to the local laser printer. Any document that needs to be processed for more complex ends — commercial printing, web, e-book, even just PDF or archive for work by later author/designers — needs to follow rules for clean organization and structure.
Yes, there are times you can very selectively break this rule, but only knowing the rigor of things like EPUB export will probably go sideways as a result. Learn to use styles to get exactly the format you want, not old typewriter/word processor 'tricks.'
Copy link to clipboard
Use CSS to enforce padding above the paragraph.
Sometimes space-above carries through to EPUB and Kindle, sometimes not; it can be maddeningly erratic. But a CSS format will almost always give exactly the desired top spacing. It's best combined with a CSS page-break-before directive as well.