View Single Post
Old 01-19-2025, 07:12 PM   #9
ryder
Member
ryder began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2024
Device: Clara 2E
Quote:
Originally Posted by DNSB View Post
For what little it may be worth, I use the following for my base body and p CSS:

Code:
body {
  display: block;
  font-size: 1em;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  text-indent: 0;
  line-height: 1.05;
  widows: 1;
  orphans: 1;
}

p {
  display: block;
  text-indent: 0;
  line-height: 1.05;
  margin: 0 0 0 0;
  padding: 0.1em 0 0 0;
  margin-block-end: 0em;
}
The "padding: 0.1em 0 0 0;" is to add a minimal spacing between paragraphs which I personally happen to prefer.
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?
ryder is offline   Reply With Quote