Quote:
Originally Posted by PilcrowandStanza
- keeping headers will following paragraph
|
Ensure each chapter is split into its own xhtml file in the epub. That ensures each chapter starts on a fresh page.
Or, you could wrap the header and the first couple of paragraphs in the code mentioned below, but not really the best way.
Quote:
Originally Posted by PilcrowandStanza
- keeping short tables from breaking between pages
|
You could wrap the table in a div. eg...
Code:
<div class="nopagebreak">
<table>
....
</table>
</div>
And the css is...
Code:
.nopagebreak {
break-inside: avoid;
page-break-inside: avoid;
}
Of course, you most likely will have a large gap on the preceding page as a pagebreak is forced to keep the table together.