View Single Post
Old 06-17-2025, 01:02 PM   #18
Falkor
Connoisseur
Falkor began at the beginning.
 
Posts: 90
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
Quote:
Originally Posted by RbnJrg View Post
You are right regarding the fonts and indeed, you need to use "-webkit-column-break-before" (or to use "-webkit-column-break-after") for page breaks; all programs based on Readium must do it. But that is not an issue.
It's another thing to add.. although I found "break-before: column" also does the trick in the apps that support "-webkit-column-break-before"

Getting page breaks to work across all reading applications is a pain, though. The order in which the different css properties are arranged matters – and the order that works in Thorium and ADE doesn't work in Books... although maybe I'm missing some crucial detail to make it work.


Quote:
Originally Posted by Slevin#7 View Post

Is it enough to go with this kind of solution of fallbacks?:
Code:
  -webkit-column-break-before: avoid;
    -webkit-page-break-before: avoid;
            page-break-before: avoid;
                 break-before: avoid;
Just try it and see if it works everywhere
Falkor is offline   Reply With Quote