View Single Post
Old 08-31-2015, 03:26 PM   #11
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,827
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by HarryT View Post
Is there any way to reproduce the layout usually used in printed poetry, which is to align wrapping lines with the end of the initial line? I can't think of a way to reproduce that in an ePub (other than to use a fixed page layout, of course).
Hi Harry;

With css2, you can't get what you want. But with css3 and epub3 (supported by the new ADE 4.x), yes, you can There is a new property called "text-align-last" that allow us to align the last line of a text block. Of that way, if you use, for example the following style for stanzas:

Code:
.stanza {
     text-align: left; /* or text-align: justify; */
     text-align-last: right;
}
you'll have what you were looking for.

Regards
Rubén
RbnJrg is offline   Reply With Quote