Thread: .epub format
View Single Post
Old 10-21-2007, 04:37 AM   #57
jbenny
Addict
jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.jbenny has a complete set of Star Wars action figures.
 
Posts: 323
Karma: 358
Join Date: May 2007
Device: Tablet PC and Nokia N800
Quote:
Originally Posted by jbenny View Post

Using this: <img class="center" src= ... />

And this in a stylesheet: img.center {display:block; margin:auto; }

Does not work in DE, but does in Firefox.
I figured out that the above is valid under XHTML 1.0 Transitional, but not XHTML 1.1. I'm still wading through the documentation at the IDPF site, but is XHTML 1.1 required for epub, or is this just a quirk with Digital Editions. For now, I've changed my source files to be 1.1 compliant, but this causes a small problem with FBreader. Don't you just love backwards compatibility?
jbenny is offline   Reply With Quote