I am currently creating an ePUB3 file for converting it to Kindle format, and for it be compatible to other ereading devices that support epub.
For centering images and groups of text, I am using this block of css in ePUB
margin: 15px auto;
padding: 0;
text-align: center;
I read while researching that putting the left and right margins as auto and using text-align: center
property has the effect of centering block-level elements but that it doesn't work on ADE and other readers based on it due to their inability to properly interpret the auto property. However, in my case, its working, both in ePUB and Kindle devices. Is this something I should be concerned about? Is the way I've done an alright way to do it?