Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 01-23-2011, 08: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, 09: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: 6,316
Karma: 4963983
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 online now   Reply With Quote
 
Advertisement
Old 01-23-2011, 03: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 03:56 AM.


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