Help coding hierarchical poem in ePub
Greetings all...
Here's my dilemma: I have a section in my current project that has a hierarchical poem. I "clumsily" build a structure for it (verse, verse2, verse3, verse4, etc.)
Each verse tag has different text-indent according to how they should appear on the page.
Is there an easier way to code this?
Example:
.kjhdfo sfjsfjk d dfgjkdfjd fkdsoieui
.........ksajadkj dsjak skdjdkasoiw lakdlak
........................askjdka skdjow kal dk
.........fkjlfi fji s djkkdlaow wo wkd
.......................................nuw
........................djksdoi doaj msowm skao
.......................................nuw
........................njsjh fhfsi wjak akd9w
And it goes on like this for almost 50 lines...
The other problem I have is relating to testing my structure on the Nook. some of the lines that break do not indent underneath their first lines, and end up looking like:
.kjhdfo sfjsfjk d dfgjkdfjd fkdsoieui
.........ksajadkj dsjak skdjdkasoiw
lakdlak
........................askjdka skdjow kal dk
.........fkjlfi fji s djkkdlaow wo
wkd
.......................................nuw
........................djksdoi doaj msowm
skao
.......................................nuw
........................njsjh fhfsi wjak akd9w
(dots present to hold spacing)
Why don't these break underneath? Is there a second line tag to insert? Can anyone offer some suggestions?
My codes looks like this each with different indents:
p.verse5 {
font-family: serif;
color: black;
background: white;
font-size: 1em;
text-align: left;
text-indent: 8em;
padding-left: -8em;
}
Last edited by rewyn; 05-20-2015 at 10:03 AM.
Reason: you kill my spaces
|