View Single Post
Old 06-26-2025, 05:22 PM   #21
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by RbnJrg View Post
Kobo Desktop? Who reads in Kobo Desktop nowadays? It's the worst desktop ereader, riddled with bugs. If that's your concern, forget about Kobo Desktop and use the solution Turtle91 gave you, forcing page-breaks with:

Code:
<p class="answer">Answer to question #x</p>

.answer {
  page-break-after: always !important;
  break-after: always !important;
  -moz-column-break-after: always !important;
  -webkit-column-break-after: always !important;
}
The correct CSS code for ePub is
Code:
.answer {
  page-break-after: always;
}
You don't need !important. Also, ePub is not a browser so the other code is not needed/valid.
JSWolf is offline   Reply With Quote