THIS WORKED!!
thank you so much!
Yes, this is for a book with 2nd level headers (more than just chapter titles) that has to continue from the text above, can't just break to a new page.
[QUOTE=RbnJrg;4526954]Employ the following style:
1. In your .css stylesheet:
Code:
.noBreakAfter {
-webkit-column-break-after: avoid; /* This is for epub3, epub2 ebooks will ignore it */
page-break-after: avoid; /* This is for epub2; epub3 ebooks will ignore it */
break-after: avoid; /* Also for epub3 */
}
2. In your .xhtml:
Code:
<h2 class="noBreakAfter">Your title here</h2>
<p>Your following text here ... </p>