View Single Post
Old 01-24-2023, 06:15 PM   #38
RonOnThePond
Enthusiast
RonOnThePond began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jan 2023
Device: kindle
Wow, jhowell. You have given me something concrete that might solve my page break problem. In fact, I do have a bottom border for all of my h1, h2, h3 headings. I will experiment with this and keep my fingers crossed. I think it looks bad to have a heading with an underlined border (or even no border) at the bottom of a page, but no text until the following page. Better to move the heading to the next page with the paragraph that follows it. That's all I'm trying to do. Seems simple enough (in Word it is "keep with next").

But as I am typing this, it occurs to me that I may be misunderstanding page-break-after with avoid. If there is only room for the heading at the bottom of a page, how does it avoid the page break after? It obviously can't squeeze the following paragraph onto the page because there's no room at the bottom, which is the very problem I'm trying to solve. So will it move the heading to the next page to be with the following paragraph, as hoped? Or will it just be unable to "avoid" not having a page break after the heading, and leave it as-is? If it's the latter, the what the heck is the purpose of page-break-after avoid, if not to keep two paragraphs together on the same page by moving the first to the next page? What situation is that supposed to address, if not mine?

Ugh.
RonOnThePond is offline   Reply With Quote