I agree with DaleDe. Get rid of the spans, they are not necessary and use header tags. After all, that's what they are for.
Also, you say you don't have a toc.ncx? I think you must have, I believe it is a requirement for the inline TOC. Just as a question, why are you making a separate TOC instead of the normal inline TOC?
|