![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Sep 2010
Device: Kindle 3
|
Issue with Nested Divs in TOC on Kindle
Hi,
Sigil automatically generates the TOC with Tools > Table of Contents > Generate HTML from TOC. The problem is that it generates a TOC structure with nested divs. I am working with an epub that has 3 levels (h1, h2, h3) in the index, which results in the TOC having 3 nested divs. The problem I have is that Kindle only supports 2 nested divs. If I add a TOC with 3 nested divs, Kindle displays it as if they are all at the same level (h1). Is there any way to automatically generate the TOC without nesting divs? Thanks |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,808
Karma: 5446592
Join Date: Nov 2009
Device: many
|
You can run Sigil's toc editor tool and promote, demote or delete (i.e. not include) whatever headers you want. There is also a filter for limiting to the highest level. FWIW, Technically you are ordering ol and li tags not div tags in the nav, I believe.
Last edited by KevinH; Today at 12:10 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Nested divs in Kindle | euriloco | Devices | 2 | Yesterday 10:18 AM |
Kindle -creating nested / multi level TOC menu | codys | Kindle Formats | 1 | 10-16-2018 02:26 PM |
Nested (expandable) ToC | AppleTard | Amazon Kindle | 3 | 04-02-2017 07:25 PM |
Touch Nested TOC problem with NST | lavina | Barnes & Noble NOOK | 2 | 01-30-2014 06:01 PM |
nested toc appears flattened on kindle | MrNiceGaius | Conversion | 2 | 09-19-2013 08:51 AM |