I have these lines in the CSS I use
.avoidbreak { page-break-inside: avoid; }
.breakabove { page-break-before:always; }
.breakafter { page-break-after:always; }
and use them, nearly always as div classes, and find they work on my Sony T3, Kobo Glow, Kindle, iPad, and Samsung tablet. So far as I can tell they've always worked - e.g. a div with the class .breakabove always starts on a new page.
Could you tell me please how you turn off hyphenation? That would be really useful for long titles if it stops a word from breaking.
|