View Single Post
Old 07-28-2022, 04:35 PM   #5
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,589
Karma: 14328510
Join Date: Nov 2019
Device: none
Alternatively to what theducks said, if you want all paragraphs indented, in your stylesheet.css file you could use

Code:
p { text-indent: 1.2em; }
Then it's just
Code:
<p>blah blah blah</p>
If you wanted a paragraph not indented, e.g., after a chapter title, you could use
Code:
p { text-indent: 1.2em; }
.noindent { text-indent: 0em; }
And the html is
Code:
<h2>Chapter title</h2>
<p class="noindent">blah blah blah</p>
<p>blah blah blah</p>
In the stylesheet.css the thing with a dot is specifying a class and without a dot it's specifying an html tag.

Last edited by hobnail; 07-28-2022 at 04:51 PM.
hobnail is offline   Reply With Quote