View Single Post
Old 11-16-2019, 01:26 PM   #13
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by RbnJrg View Post
Hi Roger:

Try this:

Code:
<p>—<span class="ps">    </span>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<p>—<span class="ps">    </span>Nulla ac tellus nunc. Phasellus imperdiet leo metus, et gravida lacus.</p>
<p>—<span class="ps">    </span>Donec metus ligula, elementum at pellentesque pellentesque, suscipit ac nunc. Etiam lobortis, massa ac aliquam auctor, augue nisl sagittis urna, at dapibus tellus erat ullamcorper ligula.</p>
with

Code:
p {
  text-align: justify;
}

.ps {
  white-space: pre;
}

Of course, you can set as your wish the amount of the spaces contained between the span tags (I used four, you can use whatever).

VERY IMPORTANT: BEFORE AND AFTER the span block (<span class="ps"> </span>), there should be NO SPACE.

Hi Ruben

This seems to work. I'll use it for my next book on MR.

Thanks for your always creative ideas.
roger64 is offline   Reply With Quote