View Full Version : Again Problems with images


epublisher
11-01-2012, 04:53 AM
Hi all.
And again I need help with images.
My steps.
1. Export book to epub from Indesign.
2. Correct that in Sigil.
3. Validate that.
Everything is ok, but when I try to convert that into mobi using Calibre I got this problems:
1. IMAGE ALIGNS.?????!!!!!!!
My css style for left align images
.l {
float:left;
margin-top:10px;
margin-bottom:10px;
margin-right:10px;
width:auto;
}
2. TOC. After convertion I lost my TOC
Here is the code from TOC in epub
<navPoint id="navPoint-1" playOrder="1">
<navLabel>
<text>Title</text>
</navLabel>
<content src="Text/start.xhtml"/>
</navPoint>
and so on

And Again I want to repeat everything is ok in epub Validation 100%. All is clear.
Thanks

Toxaris
11-01-2012, 05:51 AM
The fact that ePUB is not the same as mobi makes the fact that it validates non-valid.

I believe that floats are not possible within mobi, but I am not quite sure. Calibre should be able to create a TOC via the toc.ncx. Mobi doesn't use the toc.ncx, but needs a separate file for that. In the new Sigil version you can create a toc.html based upon the toc.ncx.

epublisher
11-01-2012, 06:14 AM
Thanks!!!