Quote:
Originally Posted by Tex2002ans
Hacking a <h#> like that would be extremely poor practice.
So according to what is being said, code such as this still won't stick together?
Code:
<div class="poem">
<p class="poetry">This is a poem.</p>
<p class="poetry">This is a poem.</p>
<p class="poetry">And this is a poem.</p>
</div>
CSS:
Code:
div.poem {
page-break-inside: avoid;
}
(And I assume still zero support from Amazon for the CSS3 break-inside [latest specs recently deprecated+renamed the page-break-XXXX properties].)
Hmmm... now that widows/orphans are defaulted to 2, would overriding them in the CSS via:
Code:
p {
orphans: 1;
widows: 1;
}
work?
(This has been something that has been frustrating me in my Kobo Forma EPUB renderer. I was complaining to JSWolf about it a few months back. KEPUBs render with default 1 widows/orphans, but EPUB renderer idiotically defaults 2.)
|
In an ePub, I modify the body to...
Code:
body {
widows: 1;
orphans: 1;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
text-align: justify;
}
Will this work in KFX?