Quote:
Originally Posted by Tex2002ans
Hacking a <h#> like that would be extremely poor practice.
|
Yes, but when you are in need...
Quote:
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;
}
|
It will be together if you use:
Code:
div.poem {
float: left;
width: 100%;
page-break-inside: avoid;
}
Quote:
Hmmm... now that widows/orphans are defaulted to 2, would overriding them in the CSS via:
Code:
p {
orphans: 1;
widows: 1;
}
work?
|
With the last version for Kindle for Android, yes.