View Single Post
Old 05-20-2015, 09:59 AM   #1
rewyn
Miskatonic U. Class of 97
rewyn began at the beginning.
 
rewyn's Avatar
 
Posts: 20
Karma: 10
Join Date: Apr 2015
Location: Ethersphere
Device: iPad, Kindle, Nook,
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
rewyn is offline   Reply With Quote