![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,784
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
![]() |
![]() |
![]() |
#17 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
|
Thank you everybody for helping me with a fancier numbered list.
Regarding the way I tried to do it - using a negative top margin for sending the text up to align it with the number - I would like to know WHY it cannot be done? I tried using the same font for the number line as well as the text line and the same line-height and the font-size, and I set everything in px. It did not help. Everything is ususlly OK in Sigil and aslo in Calibre Ebook viewer, but not in Kindle... Why would it shift out of alignment? How come there is no solution? Last edited by Bigo2; 11-28-2021 at 08:24 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,784
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
By the way, if you want something for Kindle should post in that forum. |
|
![]() |
![]() |
![]() |
#19 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 316
Karma: 3200000
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Quote:
Also, <dd> is not correct semantics (course, nor is <p>). That <dd> belongs in a <dl>, paired with a <dt>. From a visual perspective, it may inherit some other styling for that element that you didn’t intend. Overall I would say it was kind of a very cumbersome way to try to build something that (imo) hasn’t got much benefit. And generally this sort of reshuffling of block-level elements via negative margin values and the like are risky and unreliable in general. Last edited by phillipgessert; 11-29-2021 at 12:43 PM. |
|
![]() |
![]() |
![]() |
#20 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Using 18px for spacing is bound to fail. Kindle, as you see, blithely overrides it and pretends it's not even there. So too would many other real devices. You're trying to exert control where none is possible. You can do some things, as Ruben showed you, quite simply by just sticking with the default HTML. Trying to "moosh" the paragraphs closer together, in an environment like Kindle, which has a default line-height of 1.2ems, versus px...no. @DNSB: OMG, yes on the fonts on the same line. It's a horror show and I must have to wrangle with that weekly. (sigh). Hitch |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
|
Guys thank you for your suggestions how to do this properly - I know now.
Concerning my last questions up here, I was just curious WHY it does not work. Not because I want to use it - just my curiosity. Thank you for explaining it to me. Last edited by Bigo2; 12-02-2021 at 08:26 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting Epub3 to mobi - TOC becomes numbered list | readerwriter | Conversion | 7 | 10-21-2021 12:59 PM |
Numbered List (ol) Problem w/Sigil v0.9.6 and Kindle | planewryter | Sigil | 9 | 07-18-2016 09:22 PM |
Numbered and bulleted list format lost on Nook Simple Touch epub | Pondering | ePub | 2 | 10-15-2013 09:19 AM |
Are The Days Of The $14.99 Ebook Numbered? | Top100EbooksRank | News | 64 | 01-21-2013 09:23 PM |
Numbered list continuation | bhuvana786 | ePub | 4 | 05-26-2010 01:17 AM |