Quote:
Originally Posted by JSWolf
ADE 2.0.1 does not do ePub 3. So <figure> is not going to work better with an ePub 3 then an ePub 2. ADE 2.0.1 doesn't do <figure>. But if you replace <figure> with <div> both in CSS and HTML, it works.
|
So you are using <figure> with epub2, not epub3? That's likely your problem.
Well, ADE 2.0.1 does <figure> just fine for epub3 as long as I tell it that <figure>, along with <aside><section><nav><figcaption> etc... are to be displayed as block elements. Major publishing houses that do epub3 do the same darn thing, so that
their epub3s work on older devices. One also needs both toc.ncx and nav.xhtml for backward compatible navigation.
Here's an epub3 for you, which has an illustration towards the end of Chapter 1. I put it in there twice, once with <figure><figcaption>, once with <div><p>. Two classes, .illustration and .caption. The captions themselves will tell you which is which, otherwise, there's
no visual difference in ADE 2.0.1.
The text and illustrations are public domain material in the USA and also in Mobile Read terms. Leo Edwards died in 1944 and Bert Salg in 1938. The book was first published in 1926. The title is
Poppy Ott and the Stuttering Parrot. Two chapters worth.
It's a little rough, as I threw it together fast. But you asked, so here ya go: