Quote:
Originally Posted by HowlerX
What's the exact CSS to prevent widows and orphans altogether?
|
What you wrote will work, but technically you should have another semicolon at the end of the last declaration (before the closing brace).
By doing this you are
allowing widows and orphans, not preventing them.
The next question is: where to apply it? Setting it as part of the styling for normal paragraphs would probably be best for most books. Alternatively, you could apply it to body elements and everything else will inherit it.