View Single Post
Old 12-16-2011, 12:13 PM   #13
uavalos
Junior Member
uavalos began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Dec 2011
Device: none
@toxaris --- iBooks uses webkit as a rendering engine. It gives really good and predictable results. Other ePub readers also use browser as their underlying browsing engines.

Speaking of specs, according to the official EPUB specs, version 2 in many cases just picks up the official CSS2 specs! In fact, for margin-left: auto applied to DIVs and tables, the official specs say that it should behave just like a browser.

Here read it for yourself:

http://idpf.org/epub/20/spec/OPS_2.0.1_draft.htm

That document tells us that for margin-left the EPUB specs follow CCS2 section 8.3. Those specs tell us that for DIVs and tables (block-level, non-replaced elements in normal flow), margin-left:auto, and margin-right:auto should center the object horizontally:

http://www.w3.org/TR/CSS2/visudet.ht...hs_and_margins

So there you go. ADE sucks. The only reason I'm using it is because of the DRM.
uavalos is offline   Reply With Quote