View Single Post
Old Yesterday, 11:41 AM   #7
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 15,173
Karma: 111120239
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by LenaWolf View Post
No, that doesn't work on a <p>. I want the line after a line break to be indented, rather than the first line of the paragraph.
A class to indent can be added to ANY tag.

There normally should be zero <br /> in body. Vertical spacing should be by class.

The only case I know that needs a <br /> is to break a title/heading onto two lines so automatic ToC generation sees it as one entry. Otherwise it's an obsolete throw back to before styles or classes.

A <br /> is like typing enter twice in the source. I search and delete blank lines, leading spaces, trailing spaces and tabs. I replace all spaces more than one with one.

Any <br /> in body text can he replace by single Search & Replace of
</p>
<p class="whatever">

Where css of whatever defines a top margin and desired indent, left, right etc.
Quoth is offline   Reply With Quote