Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 01-23-2011, 07:20 AM   #1
cian
Enthusiast
cian will become famous soon enoughcian will become famous soon enoughcian will become famous soon enoughcian will become famous soon enoughcian will become famous soon enoughcian will become famous soon enough
 
Posts: 46
Karma: 602
Join Date: Oct 2009
Location: Hove, UK
Device: sony prs505
poetry

Does anyone have any tips for the best way to do poetry?

I want to create some Wordsworth and Browning collections for the library here, and I just want to get the structure of the XHTML right before starting. CSS tips would be great as well.
cian is offline   Reply With Quote
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
Advert
Old 01-23-2011, 02:56 PM   #3
cian
Enthusiast
cian will become famous soon enoughcian will become famous soon enoughcian will become famous soon enoughcian will become famous soon enoughcian will become famous soon enoughcian will become famous soon enough
 
Posts: 46
Karma: 602
Join Date: Oct 2009
Location: Hove, UK
Device: sony prs505
Thank you that's exactly what I wanted.

And thanks also for your many uploads. I just finished one of them.
cian is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Poetry Taylor514ce Writers' Corner 1378 08-10-2017 10:21 AM
A bit of poetry Joebill Writers' Corner 4 01-08-2010 11:01 AM
Poetry for Christmas GeoffC Writers' Corner 2 12-04-2009 04:26 AM
Got POETRY? Dr. Drib Writers' Corner 36 04-02-2009 11:18 AM
Poetry recommendations? ficbot Reading Recommendations 1 03-14-2009 12:19 PM


All times are GMT -4. The time now is 04:35 PM.


MobileRead.com is a privately owned, operated and funded community.