Or put a normal <h1> with text (not empty) outside the SVG, and add "display: none" to its CSS.
Actually, you don't need an <h1> at all, I guess your problem is just that whatever program you are using to generate the TOC (Calibre, Sigil) needs them, but you could write/modify the TOC yourself.
(And you may want to add preserveAspectRatio="xMidYMid meet" to the <svg>, to preserve the aspect ratio of the image.)
Last edited by Jellby; 01-05-2011 at 06:00 AM.
|