View Single Post
Old 11-18-2015, 07:55 AM   #297
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
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.
jackie_w is offline   Reply With Quote