View Single Post
Old 08-17-2024, 08:50 AM   #11
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,363
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by RbnJrg View Post
Are you working under epub2 or epub3? If you are working with epub3, then by far the simplest and easier solution is to employ a flex-box; it's a piece of cake to get what you want, since the flex-box does all the dirty work, you don't need to calc anything (even you don't need to use margins).


flex-box is definitely easier/better as long as the devices displaying it are epub3 compatible. If there is any chance someone will want to read it on an epub2 device (or a device that only partially supports epub3) then you will also want to provide fall-back coding otherwise it could end up looking really basic/ugly. There are methods for vertical alignment under epub2 but it takes some creative css. Here are a couple of threads discussing the topic:

https://www.mobileread.com/forums/sh...vertical+align

https://www.mobileread.com/forums/sh...ertical+center
Turtle91 is offline   Reply With Quote