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.
The only way to guarantee that a header will be at the top of a page is to make it the first part of a new html page.
|