Quote:
Originally Posted by JSWolf
Also, you don't need @page at all. You can do away with it. Just use margins of 0 in body.
Code:
body {
widows: 1;
orphans: 1;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
text-align: justify;
}
|
Perhaps you're not aware but the presence of @page in extra_css is treated as a special case. It physically removes any/all existing @page(s) from all css files before inserting itself.
The same is true for widows/orphans.
The body code you've quoted, if used in extra_css will force removal of pre-existing widows/orphans but it won't remove pre-existing @pages.