View Single Post
Old 11-19-2018, 05:08 PM   #1
Trane
Groupie
Trane can understand the language of future parallel dimensionsTrane can understand the language of future parallel dimensionsTrane can understand the language of future parallel dimensionsTrane can understand the language of future parallel dimensionsTrane can understand the language of future parallel dimensionsTrane can understand the language of future parallel dimensionsTrane can understand the language of future parallel dimensionsTrane can understand the language of future parallel dimensionsTrane can understand the language of future parallel dimensionsTrane can understand the language of future parallel dimensionsTrane can understand the language of future parallel dimensions
 
Posts: 165
Karma: 51147
Join Date: Dec 2016
Device: android tablet
Can this 'tag' go in a CSS?

Hi... have a very long book (over 3k pages in KP) and noticed many of the sub-chapter headings are orphaned with blank space and the text starting on the next page (usually when an image that accompanies the text is too large to be put on the previous page).

I don't want to create a sep HTML file for each sub-heading, so was going to use this:

<div style="page-break-before:always;"></div>

... to keep the heading with the text... But was wondering if it can be placed in the CSS somehow so I don't have to manually paste it into several dozen places in the book code? TIA

EDIT: Uh, I think I found the answer here. Sorry for the post but hope it helps someone else.

Last edited by Trane; 11-19-2018 at 05:19 PM. Reason: found answer, I think...
Trane is offline   Reply With Quote