View Single Post
Old 02-08-2022, 10:25 PM   #8
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,602
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Confirming what @davidfor has stated, I have used the following code in two novels which works well reading on my Libra2...

Code:
.nopagebreak {
  page-break-inside: avoid;
  margin-left: inherit;
  margin-right: inherit;
}
Then in the body of the text I use...

Quote:
<div class="nopagebreak">
<h3 id="toc_1">1b</h3>

<p>This is the first paragraph of the sub-chapter. This paragraph should stick to the sub-heading</p>
</div>
Karellen is offline   Reply With Quote