4

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?

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.