View Single Post
Old 10-03-2024, 01:29 PM   #37
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: 80,071
Karma: 147983159
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 Jellby View Post
Depending on how complex the book is, you may get away using only <p> and styling p and h1+p (or whatever h level you use for chapter headings).

I'd use some class name other than "noindent", something like "first" and/or "continued". Just to maintain the distinction between semantics and styling. Those paragraphs are unindented because they have some feature, not because I randomly decided to disable indent for them. If some day I want to also indent the first paragraph in a chapter (as is done in other language traditions, by the way), I won't feel embarrassed by adding some indent to the "noindent" class.
I do use an <hr/> for the section breaks. So the next <p> is styled for no indent with hr + p.

I probably should also do an h2 + p for no indent as I mostly use <h2> for the chapter header.
JSWolf is offline   Reply With Quote