View Single Post
Old 03-19-2013, 08:44 AM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
You can either give each paragraph a special class with appropriate formatting, or use a little more technical CSS styling and it will do it automatically.

Code:
.noind {text-indent:0}

<p class="noind">This is a no indent paragraph.</p>
Or

Code:
.sectionbreak {margin:2em auto; text-align:center}

h2 + p, p.sectionbreak + p {text-indent:0}
Where the first paragraph which immediately follows an h2 tag,
or a paragraph defined as a section break,
will have an indent of 0

As in:
<h2>Chapter 69</h2>
<p>This is a no indent paragraph.</p>

<p class="sectionbreak">* * *</p>
<p>This is a no indent paragraph.</p>


I hope that helps!

Cheers,
Turtle91 is offline   Reply With Quote