I've been writing an ebook in html and css. I have an image-heavy section in my ebook, and occasionally in the Kindle previewer, images will be pushed to the next "page". That's fine. What I'm wondering is if there is a way to vertically center the content on the current "page" - instead of having all of the content at the top, and a huge blank space below. Is there a css class or pseudo-class that applies to the content currently displayed or something like that?
Asked
Active
Viewed 70 times
1 Answers
1
I've yet to see an ebook reading system that handles vertical centering. The best you could do is insert mandatory page breaks before such images and give them some margin-top—but you'd have to guess at how much.
Tom
- 4,648
- 2
- 17
- 33