Well, I don't know what to say other than the solution I gave (wrapping the div in a div) solves my problem. Without it, the div aligns to the left in Adobe Digital Editions and Aldiko.
And yes, I omitted the classes in my HTML example, sorry.
It makes sense... the attribute text-align:center only affects the contents of the div, not the div itself, right? So a wrapper div with text-align:center will center everything its wrapped around.
Perhaps this is a bug in ADE? I don't know.
|