View Single Post
Old 02-17-2011, 05:14 PM   #2
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,913
Karma: 4329601
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
I don't know whether this will be any help. I convert raw HTML to EPUB all the time. I use Calibre only (not Sigil).

In the HTML I make sure my <img> tag is enclosed in <p>...</p> tags and that I don't have any height or width attributes set in the <img> tag. So a typical image would look like this in the HTML:
Code:
<p class="aligncentre"><img alt="c01" src="images/c01.jpg"/></p>
with this as the relevant bit of CSS:
Code:
.aligncentre {text-align:center; text-indent:0}
Edit: I wouldn't think it would matter whether your image was aligned left, right or center in the CSS.

Last edited by jackie_w; 02-17-2011 at 05:23 PM.
jackie_w is offline   Reply With Quote