Quote:
Originally Posted by Turtle91
You can try the "page-break-inside:avoid" style in your div or "page-break-before:always" in your h4 styling. Unfortunately, there's no guarantee that all readers/apps/devices will honor that.
|
I agree. I would go with the "page-break-before: always;" solution if this bothers you. (Or maybe there is other CSS cruft you may have throughout your book that is exacerbating this problem?)
Quote:
Originally Posted by Notjohn
Not what you want to hear, I suppose, but I think anyone who has read more than one or two e-books will not be put off by seeing a breakhead at the bottom of a "page."
|
I agree.
Quote:
Originally Posted by SigilBear
Good tip about the paragraph style; I'm used to using headers on my web pages, but I guess turning me headers into paragraphs would automatically avoid this problem.
|
No, absolutely not. Headers are important semantics, and are extremely important for devices such as Screen Readers (being able to hop around the book much more easily).
Quote:
Originally Posted by Notjohn
Will these h4 headings actually be in the TOC? If not, shouldn't you use a paragraph style?
|
Come on Notjohn... you have been here long enough to hear the arguments on why going from proper <h#> -> <p class="styling"> is a poor idea (I definitely know me + Hitch have discussed this extensively over the years).
You even posted in one of the latest times this was brought up!
https://www.mobileread.com/forums/sh...21#post3403721