Quote:
Originally Posted by oenopion
What's the best way to amend all my other 34 first chapter paragraphs? Is there any type of s&r trick, or paste them in one by one?
|
That depends on the element that precedes the first paragraph. If it's for example a
<h3>...</h3> heading, you could theoretically use a regular expression that searches for a closing
h3 tag followed by an opening
p tag.
However, it'd be probably more efficient to use a
CSS plus operator in your stylesheet.
Assuming that all your chapter headings are enclosed in
h3 tags, you could for example use the following styles to indent all paragraphs except for the first paragraph immediately following a
h3 heading.
Code:
p { text-indent: 1em; margin: 0;}
h3 + p { text-indent: 0; }