View Single Post
Old 05-09-2015, 01:08 PM   #18
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,840
Karma: 8006346
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by Phssthpok View Post
... The correct structure is
Code:
<h1>heading</h1>
<h2>Subhead</h2>
<p>Content</p>
which is what I have. I then try to use CSS to give it the correct appearance, but the conversion tool screws it up. I absolutely refuse to alter the structure of the document in order to correct its appearance. YMMV, but that's the way I like to do things.
Hmmm ... I use the same structure as you do, and my <h2> subheads do not trigger a pagebreak.

As far as I can tell, the only thing different about your code and mine is I don't use page-break-before in my CSS for <h1> (or <h2>).

Have you deleted all H2 references in the Structure Detection settings as theducks suggested? My Structure Detection settings have no H2 references.
odamizu is offline   Reply With Quote