Quote:
Originally Posted by AlexBell
This is late, I know, but I realised that the problem might be that the markup in my first post does not set the img to display: inline.
I added this to the CSS file
div.centre img { display: inline; }
and the images are centered in iBooks as well as all the other readers.
I'm afraid I don't know enough about CSS to know whether iBooks is being too strict in requiring that the image display: inline, or whether ADE and Marvin is being too lax in not requiring this. Any comments?
|
"display:inline" shouldn't be necessary, because the img element is per definition an inline element. So in my opinion this is a bug in the iOS renderer.