I edit books as ePUBs and convert them to AZW3 to read them on my Kindle. Usually I want a page break between each file in the ePUB, and have a CSS style for <body> with "page-break-before: always". But in a few recent cases the files are over the 260K-ish limit, so I moved the page-break-before to a ".page" class and used <body class="page"> on files where I wanted a page break, and <body> on the others. When these are converted to AZW3, I still get a page break on every file.
Looking at Prefs > Conversion > Common Options > Structure Detection, I see I have "Detect chapters at: /" and "Insert page breaks before: /" to disable any auto-cleverness of this sort. Looking at the AZW3, I see that <body> in the ePUB gets changed to <body class="calibre3">, and the rules for ".calibre3" and ".page" are identical,
without a "page-break-before" styling:
Code:
.calibre3 {
display: block;
font-size: 1em;
padding-left: 0;
padding-right: 0;
text-align: justify;
margin: 0 36pt
}
.page {
display: block;
font-size: 1em;
padding-left: 0;
padding-right: 0;
text-align: justify;
margin: 0 36pt
}
Is there something else that I should do, or is this yet another unavoidable Amazonian weirdness?