View Single Post
Old 11-26-2021, 10:45 AM   #9
Arjayem
Casual Member
Arjayem began at the beginning.
 
Arjayem's Avatar
 
Posts: 5
Karma: 10
Join Date: Mar 2016
Location: UK
Device: Kindle paperwhite
Talking Page-break-before

Quote:
Originally Posted by BettoReader View Post
If this can help you, after inserting in my azw3 the css rule
Code:
page-break-after: always;
I had to carry out a reconversion on the same type (AZW3 -> AZW3).
Simply saving and copying the azw3 on the kindle I did not get the desired result (even if in the calibre viewer I got the page-break as expected).

So investigating I tried to reopen the reconverted AZW3 and I noticed that the html file was divided at the points where I wanted the page-break (perhaps in this way the kindle correctly detects the page-break).

In the book before the conversion I had ~ 80 html files and in the converted one ~ 140 html files.
Very interesting, I can’t get page-break-before to work, but every forum I read insists it should. But if as you say it needs something to generate a file break using the page-break-before then this sheds some light on the problem.
New file results in a page break, no problem, I’ve been using new file to give a page break, but find the number of files messy, particularly if the section is short.

Does this mean everyone claiming page-break-before works are wrong and “something” is just using the page-break-before to generate a new file
Arjayem is offline   Reply With Quote