![]() |
#16 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,711
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#17 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
which to my mind is the same as deeply indented. but that is never going to work well in an ebook world where the user can go from small to medium to large to xtra large fonts at press of a button |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I didn't mean it shouldn't be posted here, sorry if that's how it appeared. What I meant is that, according to the ePub spec, it may or may not work, and one should be aware of that when coding.
|
![]() |
![]() |
![]() |
#19 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Or at least mention a warning when it is a known issue, as auto setting for margins is.
|
![]() |
![]() |
![]() |
#20 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,711
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
![]() Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#21 |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
I found the solution
I finally stumbled on to the centering and maintenance of poetry formatting.
![]() The "centerbox" tag does the trick. <div class="centerbox"> <div class="stanza"> <span class="i0">Mi memoria en ti se ocupa</span><br /> <span class="i0">No te olvida un solo instante,</span><br /> <span class="i0">Y mi mente delirante En ti piensa,</span><br /> <span class="i0">en ti piensa sin cesar.</span><br /> </div> </div> |
![]() |
![]() |
![]() |
#22 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,524
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I don't understand. How does naming the div class "centerbox" make it work? What you posted is no different than what you initially posted other than having a different class name for the outermost div.
![]() |
![]() |
![]() |
![]() |
#23 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Quote:
This might be of help to Charlie : http://www.w3.org/Style/Examples/007/center.en.html BobC |
|
![]() |
![]() |
![]() |
#24 | |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
From W3Schools Code:
.centerbox{ width:50%; padding:10px; text-indent: 0; text-align: justify; font-size : 90%; margin-left: 25%; margin-right: 25%; margin-bottom:1em; } Code:
.stanza { text-indent:0; margin-bottom:1em; } |
|
![]() |
![]() |
![]() |
#25 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,711
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
EDIT: I added a border to the .centerbox style, so you can see better what I want to say; the "box" is centered but text inside, not. Last edited by RbnJrg; 09-19-2013 at 05:05 PM. |
|
![]() |
![]() |
![]() |
#26 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,524
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
We've already determined that the perfectly centered block text (100% of the time for all font-sizes) is simply not possible with ADE (currently). All that is left is to forget it altogether, or to come up with a suitable compromise. ![]() |
|
![]() |
![]() |
![]() |
#27 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,711
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Yes, right. With one stanza is enough.
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Another dumb question. | kamanza | Sigil | 5 | 07-12-2012 02:11 PM |
Dumb Question | Pomtroll | Sony Reader | 6 | 10-07-2011 03:14 PM |
Dumb Question, but... | omro | Astak EZReader | 6 | 12-04-2009 04:32 PM |
Unutterably Silly There is never a dumb question, only dumb people! | Dr. Drib | Lounge | 17 | 12-29-2008 09:43 AM |
really dumb question | ernietd | Kindle Formats | 2 | 11-01-2008 12:31 AM |