Thread: poetry
View Single Post
Old 01-23-2011, 08:49 AM   #2
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,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Wrap each stanza in a <div>, and each line in a <div> or <p>. Do not use <br/> to break lines, because it gives you less control on what happens when a line has to break because it's longer that the screen/page width. Then assign a CSS similar to:

Code:
div.stanza {
  margin: 0.5em 0 0 2em; /* some vertical separation and left margin for stanzas */
}

div.stanza p {
  text-align: left; /* you don't want poetry justified */
  text-indent: -3em;
  margin-left: 3em; /* this two values make wrapped lines indented */
}
Jellby is offline   Reply With Quote