Not really sure where to post this.
Basically, i use Sigil to create EPUBs. However, I've noticed that the usual centering doesn't work in ADE. And by "usual" I mean by the way it's usually done in web development---to center something, style it with
margin-left:auto and
margin-right:auto. Assuming the width has been explicitly defined, this technique centers DIVs, Ps, IMGs, TABLEs, ... basically anything. It also works in every major browser, even the buggy IE 6 if I recall correctly!
However, this technique apparently does not work in ADE. I'm running the latest version for windows, which is presumably 1.7.2.
I've noticed that to center IMGs, some vendors wrap it in a paragraph P that's centered vertically:
Code:
<p style="text-align:center;"><img /></p>
However, in my book, I don't have the luxury of going back to the mss. and wrapping things I want centered in an extra paragraph.
So are there any workarounds? How do you center objects in ADE?