Hi all, I hope you can help.
I've used Indesign CS5.5 to create an epub with pictures inside.
I unzipped the epub for basic editing. I don't know html but there are a couple of things I've picked up from the internet to improve the look of my book (and fix incorrect fonts).
I added some div.groups for images in the CSS file which has image sizing instructions.
And in many of the html files I have taken out the image code and replaced it with this
Code:
<div class="group1">
<img src="exampleimage" alt="example" />
</div>
The book looks and works great. I validated it with Sigil and it came out okay. I tried uploading it to the Apple iBookstore and it was rejected.
I tested it with EPub validator and it has over 300 errors of the same type.
It list the html file and then
element "div" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context
The strange thing is I have created two other books in this way and they were fine and have been published. If it was one or two errors I would suspect I had messed up the html code, but because it is around 300 errors I suspect something different.
A common element of the line just before the div lines listed above is this.
Code:
<p class="body"><span class="body" style="font-size:0.86em;"><br/>
ta.