View Single Post
Old 11-15-2017, 01:44 AM   #4
Nabodita
Connoisseur
Nabodita has never been to obedience school.Nabodita has never been to obedience school.Nabodita has never been to obedience school.Nabodita has never been to obedience school.Nabodita has never been to obedience school.Nabodita has never been to obedience school.Nabodita has never been to obedience school.Nabodita has never been to obedience school.Nabodita has never been to obedience school.Nabodita has never been to obedience school.Nabodita has never been to obedience school.
 
Nabodita's Avatar
 
Posts: 97
Karma: 44418
Join Date: Jul 2013
Location: Mostly in my own head!
Device: Kindle Fire, iPad
Quote:
Originally Posted by JSWolf View Post
Given that this is an ePub, do you actually need a contents page since you already have the NCX ToC?
To be honest, I absolutely do not need this page... I'm not even sure I'll keep this page in the final version. I just wanted to try out the formatting because I don't have much experience with floating text and images.

@Turtle91

I was also considering using an ordered list and I'm happy to have some code to try out. Will post back on this as soon as I've finished testing it. I don't know how to thank you, though.

However, my concern remains that my code works on all readers and apps that I've tested except the Aldiko Book Reader for iOS where the floated element (in this case, some text included in a span tag) is simply missing.

If this is a bug, I'd at least like to report it. In this specific case, I have alternatives... I can omit the contents page completely or I can use lists or tables. However, if Aldiko is ignoring floated elements, I hate to think what will happen to books where images etc are floated.

Edit: @Turtle91

Damn, the code is simple and works perfectly... considering the trouble I went to to achieve the same formatting, I feel like an ass!

Last edited by Nabodita; 11-15-2017 at 02:08 AM. Reason: Updated testing results
Nabodita is offline   Reply With Quote