View Single Post
Old 06-25-2016, 04:24 AM   #11
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by GeoffR View Post
Do you need to add a div at all? I think adding this to the CSS stylesheet should accomplish the same thing:
Code:
p.speaker + p.verse {
  page-break-before: avoid;
  page-break-inside: avoid;
}

Oh, that's interesting -- something like that never even occurred to me. Would that wrap the page-break:avoid around both items, together, though? Or would it add it to each individually/separately? If the latter, then it wouldn't accomplish what I'm trying to, of course.
Psymon is offline   Reply With Quote