View Single Post
Old 11-22-2014, 02:28 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
In the code you showed, yes, the <div class="ic"> in unnecessary (and page-break-avoid: is often ignored, anyway). And the <h3> is only needed if you want "Figure 1" to appear in the TOC. Basically, you can just use:

Code:
<XXX><img alt="" src="..." /></XXX>
where XXX = div, p, h1-6. If you need to center, remove indent, add margins, etc. use a class in the XXX and define it appropriately.
Jellby is offline   Reply With Quote