Quote:
Originally Posted by pluma
Thanks for the quick response, but would you care to elaborate how to use it? I am really desparate with this as I've got everything broken.
Where should I place the 'page-break-before' inside a <p>, <span>, <div>, <table>, combination of <br \>, ...???
I'd appreciate some examples.
|
It is a CSS style attribute. You need to apply it to the tag of interest. I would create a style and put it on the tags of interest. So, in the stylesheet:
Code:
.page_break {page-break-before: always;}
And in the code:
Code:
<p class="page_break">This might be on a new page.</p>
But, I have no idea whether either of the book renderers on the Kobo respect this. I usually strip these out.