Quote:
Originally Posted by ryder
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.