Copy link to clipboard
Copied
Hi ! I'm making a ePub and I have one problem : I can't center vertically the text. I'm working on a reflowable layout ePub so everyone can choose the size of the characters, everythong works except the vertically position of the text. I tried some CSS tricks, I searched everywhere on the paragraph styles options...So now I need help.
Thanks.
(Sorry if I made some mistakes, I'm french.)
Copy link to clipboard
Copied
You may need to create an extra Paragraph style for just those paragraphs that need extra line spacing; use Space Before and/or Space After.
Copy link to clipboard
Copied
But how can one know how big the screen is going to be? Without that info, what is the right measurement for space before?
Ariel
Copy link to clipboard
Copied
I tried but I can just ask a number of pixel, I would need a percentage (50% before, 50% after). I think I need CSS but I begin with ePub, InDesign and CSS so I have difficulties to include new rules inside HTML and CSS code. I use Sigil to open the ebook to work on the code. I even found codes but I don't know how include it in the code.
Copy link to clipboard
Copied
"I even found codes but I don't know how include it in the code." What code did you find? When you export to ePUB you have the option to add your own code: EPUB-Reflowable Layout Export Options>CSS>Additional CSS>Add style Sheet. You just have to associate it with the paragraph style name of the text you want to center.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now