![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2011
Device: none
|
Nested Ordered Lists
Or, can I have an ordered list with a nested list inside with alpha instead of numeric?
1. 2. a. 3.b. Tried this, didn't work. <ol> <li></li> <li></li> <ol style="list-style-type:lower-alpha;"> <li></li><li></li> <li></li> </ol> </ol> the lower alpha list shows up as numbers instead. is there a better way to do this? |
![]() |
![]() |
![]() |
#2 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
If you want help you might want to include little things like what format you are trying to do this with and what steps you are using.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2011
Device: none
|
I'll be converting the HTML to both Mobi and EPub. I'll use KindleGen for the Mobi, and Calibre for the EPub.
Unless there is a better way to do it. |
![]() |
![]() |
![]() |
#4 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,351
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Mobi (or at least Kindle Mobi) doesn't support anything but numbered ordered lists. And even ePub can be quite flaky (different results for different readers) with how nested ordered lists including both alpha and numeric combinations are handled.
The better solution is to forget about the <ol> and <li> tags and just hard-code your outline the way you want it to look. Last edited by DiapDealer; 11-17-2011 at 08:45 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2011
Device: none
|
Quote:
I know they can be picky about things like tables... I could do something like <blockquote> <p>1.</p> <p>2.</p> <p>3.</p> <blockquote> <p>a.</p> <p>b.</p> </blockquote> <p>4.</p> </blockquote> but I dunno if they can handle that level of complexity. Can Mobi and EPub handle something like <p style='text-indent:10px;'> or padding-left:10px;? |
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 59840954
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,351
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
As for MOBI, whatever style (inline or CSS) you give a paragraph in your source (x)html needs to be translated/converted to an HTML 3.2 attribute in the finished product. MOBI is limited to a subset of HTML 3.2 and doesn't support CSS at all. So "text-indent" is translated to the "width" property: Code:
<p width="1.0em">blah, blah, blah</p> |
|
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,592
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2011
Device: none
|
Quote:
Off to try this. Useful information. And I always seem to forget about em measurements. That'll be useful for ebooks since the font is so likely to be re-sized. |
|
![]() |
![]() |
![]() |
Tags |
epub, mobi, ordered list |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ordered lists on the NOOK Color and Kindle | sgirsberger | ePub | 8 | 09-15-2011 08:31 AM |
Classic Nook Nested Lists | ldespain | Barnes & Noble NOOK | 0 | 08-08-2011 04:06 PM |
Ordered lists and ADE | dynabook | Sigil | 3 | 01-27-2011 04:53 AM |
Content nested collections | alexxx | Amazon Kindle | 6 | 06-22-2010 06:05 PM |
Are Nested TOCs Possible? | VikingDave | Sony Reader | 11 | 12-28-2007 07:58 PM |