02-09-2014, 07:34 PM | #1 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Poetry
Hi
I discovered not long ago the negative indent, so you can see that my life is full of hope. I am looking on how to code this verse (screenshot) so that the last word(s) of a loong verse which have to go on a second line (with negative indent here) could be pushed to the right (see red arrows). I think it would make them more readable. The problem of course is that the paragraph is not right aligned while this (or these) words would probably have to be right aligned and that a bigger negative indent could give weird results with differents formats. Last edited by roger64; 02-09-2014 at 10:45 PM. |
02-09-2014, 11:21 PM | #2 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
https://www.mobileread.com/forums/sho...d.php?t=225043 |
|
Advert | |
|
02-10-2014, 02:42 AM | #3 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
|
|
02-10-2014, 03:06 AM | #4 |
frumious Bandersnatch
Posts: 7,534
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Ah, the holy grail of poetry formatting
|
02-10-2014, 03:47 AM | #5 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Here is another one for you
|
Advert | |
|
02-10-2014, 06:40 PM | #6 |
Fanatic
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
|
Just curious... would it be possible in HTML5/CSS3?
I mean, EPUB3 is just around the corner, isn't it? |
02-11-2014, 05:12 AM | #7 |
frumious Bandersnatch
Posts: 7,534
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
If you add javascript, maybe... or maybe not.
|
02-11-2014, 10:37 AM | #8 |
Fanatic
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
|
Have to answer my own question, apparently...
This code actually seems to do the trick – in chrome anyway. And only CSS2! But definitely not according to EPUB2-spec. Spoiler:
Last edited by SBT; 02-13-2014 at 07:24 PM. Reason: Fixed error causing words to disappear |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
User Poetry | Taylor514ce | Writers' Corner | 1372 | 08-10-2017 10:21 AM |
Just Poetry | newone | Self-Promotions by Authors and Publishers | 0 | 04-02-2012 01:34 PM |
Anyone for poetry? | Graham Coulson | Lounge | 1 | 10-08-2011 06:02 AM |
poetry | cian | ePub | 2 | 01-23-2011 02:56 PM |
Got POETRY? | Dr. Drib | Writers' Corner | 36 | 04-02-2009 11:18 AM |