View Single Post
Old 10-15-2022, 02:57 AM   #9
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,554
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Jellby View Post
Nowadays I use something like:

Code:
div.poetry {
  margin: 1em 0 1em 2em;
}
div.poetry div.stanza {
  margin: 0.5em 0 0.5em 0;
}
div.poetry div.line {
  margin: 0;
  padding-left: 3em;
  text-indent: -3em;
  text-align: left;
}
div.poetry div.line2 {
  margin: 0;
  padding-left: 5em;
  text-indent: -3em;
  text-align: left;
}
Code:
<div class="poetry">
<div class="stanza>
<div class="line">Verse line</div>
<div class="line">Verse line</div>
<div class="line2">Indented verse line</div>
</div>

<div class="stanza">
<div class="line">Verse line</div>
<div class="line">Verse line</div>
<div class="line2">Indented verse line</div>
</div>
</div>
Jellby is offline   Reply With Quote