View Single Post
Old 04-17-2014, 12:22 PM   #15
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by odedta View Post
@Toxaris, I'm more familiar with web development and that always works and the right way to center a div or an image, perhaps eBooks readers have issues with that. :/
The ePUB2 specs are not equal to (X)HTML specifications. There are differences. Therefore you can never assume what works for web development also works for an e-book. A lot is the same, but not everything. Some apps (iBooks) use a web-rendering engine instead of an engine that follows the specs more closely because it is easier to program. So, sometimes it works on those apps.

The auto margins are a well known difference. Personally I don't like that the specifications gives room for margin. It should be supported or not and should not be the choice of the programmer. That will always lead to duality or worse.
Toxaris is offline   Reply With Quote