View Single Post
Old 03-15-2023, 04:09 PM   #7
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,616
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by wisark View Post
I would like that if that happens, the words that do not fit in the line go automatically to the next line (which it already happens) but with some indentation, like for example:
Use a hanging indent. Something like this in your css file...

Code:
.hanging {
  text-indent: -1em;
}
and then use...

Code:
<p class="hanging">My poetry line</p>

Last edited by Karellen; 03-15-2023 at 04:11 PM.
Karellen is offline   Reply With Quote