Quote:
Originally Posted by babadockia
Hello everybody!
I have a question to all the epub wizards here:
I have a doc, or a docx file, calibre and sigil and what I would like to do is to place the chapter in the middle of the page, you know, like on printed books.
Maybe this question have been asked before, but couldn't find the answer.
I attached two pictures for example
|
What you want is rather easy to get. In the epub I attach you can see THREE methods that work under
ADE 3.0:
1. A method based on the property "padding".
2. A method based on the properties "display: table" and "display: table-cell".
3. A method based on the property "line-height" (the easy method if you want to center only one line).
Here you can see a screenshot of the result under ADE:
Below you can watch the respective epub.
Regards
Rubén