View Single Post
Old 01-19-2025, 07:41 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,970
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by ryder View Post
Thanks for your code. I will try that as well. What is the meaning of widows: 1; orphans: 1; Just one word at the beginning and end of a paragraph is allowed?
I use the following body code because I cannot stand paragraph spaces no matter how small they are.

Code:
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
Widows and orphans have a default value of 2. If at the end of the page, 1 line of the last paragraph is left, it will drop to the next page. You would need at least two lines of the last paragraph on the page. Windows deals with the end of the paragraph. So if one line drops to the next page, the window will make it so another line joins it and there are two lines. Basically, windows and orphans set to 1 turns them off.

Last edited by JSWolf; 01-19-2025 at 07:49 PM.
JSWolf is offline   Reply With Quote