View Single Post
Old 03-12-2013, 12:51 PM   #1
Derek R
Connoisseur
Derek R began at the beginning.
 
Derek R's Avatar
 
Posts: 87
Karma: 20
Join Date: Jun 2011
Location: County Down, Northern Ireland
Device: none
setting line-height between paragraphs of poetry in epubs

I am using the following code for poems in epubs:

Code:
.poem {
	margin: 1em;
       }
.poem p {
	margin: 0 0 0 2em; 
	text-indent: -2em; 
	padding: 0;
	}
.poem p.stanza {
    margin-top: 1em !important;
    }
This works fine, but the spacing between the paragraphs in the poem is less than the space between lines within regular paragraphs. I can certainly adjust the line-height in the poem by setting a "line-height", but what I would like to do is let it inherit whatever the default line-height is in the reading device.

Is there any way making the line-heights the same without setting them both within the epub?
Derek R is offline   Reply With Quote