View Single Post
Old 08-02-2022, 04:29 PM   #22
salty-horse
Wizard
salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.
 
salty-horse's Avatar
 
Posts: 2,043
Karma: 21065138
Join Date: Sep 2008
Device: Kobo Clara 2E
Quote:
Originally Posted by JSWolf View Post
None of those solutions are optimal. You want CSS to add the 1em space.
Much better, thanks.
I replaced all:
Code:
<p class="CLASSNAME"><br/></p>
with
Code:
<div class="CLASSNAME"></div>
and changed the styles of those classes from "margin: 0 0 0 0; line-height: X" to "margin: X 0 X 0", and added a rule for "div.br" with a 1em margin.
salty-horse is offline   Reply With Quote