View Single Post
Old 07-03-2022, 04:47 PM   #4
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,796
Karma: 146391129
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 Notjohn View Post
Named styles are ever so much easier to handle. This is my style for the "first" paragraph in a chapter or section:

p.first {
margin-top:0.5em;
margin-bottom: 0.0em;
text-indent:0.0em;
text-align:justify;
}

It's evoked of course by going <p class="first">

My style sheet can be seen at notjohnkdp.blogspot.com (posted in 2013 but often updated).
I find that it's neater to put all the spacing in the chapter header style or h1/h2.

Code:
h2 [
  font-weight: bold;
  text-align: center;
  text-indent: 0;
  margin-top: 1em;
  margin-bottom: 1em;
}
.noindent {
  text-indent: 0;
}

Last edited by JSWolf; 07-05-2022 at 04:41 AM.
JSWolf is offline   Reply With Quote