View Single Post
Old 07-23-2023, 02:45 AM   #1
Interrobang
Oracle Pig Keeper
Interrobang , Klaatu Barada Niktu!Interrobang , Klaatu Barada Niktu!Interrobang , Klaatu Barada Niktu!Interrobang , Klaatu Barada Niktu!Interrobang , Klaatu Barada Niktu!Interrobang , Klaatu Barada Niktu!Interrobang , Klaatu Barada Niktu!Interrobang , Klaatu Barada Niktu!Interrobang , Klaatu Barada Niktu!Interrobang , Klaatu Barada Niktu!Interrobang , Klaatu Barada Niktu!
 
Posts: 26
Karma: 5024
Join Date: Jun 2023
Device: Kindle Fire HD, Samsung Tab
Aligning Text Across Facing Pages

When producing a PDF or actual print book, it's easy to establish a baseline grid so that text on facing pages line up perfectly. How does one achieve this in HTML/CSS within an ePub?

I know that Apple Books and Kobo both require that text aligns this way on facing pages, but they provide no code examples on how to achieve this.

During my testing, when both pages are just simple text, they do align. But when one page contains a chapter header at the top in a different font or size, no amount of minor spacing tweaks will achieve the desired goal.

Is there an established way to do this easily? Are there any code samples out there on the subject you can point me to? Any help would be appreciated.

Thanks
Interrobang is offline   Reply With Quote