View Single Post
Old 09-13-2013, 10:09 AM   #26
m00min
Connoisseur
m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.m00min ought to be getting tired of karma fortunes by now.
 
m00min's Avatar
 
Posts: 69
Karma: 536046
Join Date: Sep 2012
Device: iPad / NST / Kobo
Quote:
Originally Posted by Faterson View Post
Hmmm... maybe Kris will fix this so quickly you won't have to swap anything. I did notice lots of things were not displaying optimally in that EPUB test file, the font colours being the main missing feature, but it never occurred to me it's the margin-bottom attribute, in particular, that gets ignored by Marvin, so thanks for pinpointing it.

(PS: When I say it's "my" EPUB test file I don't mean it's my code... It's a random dilapidated file I found somewhere years ago, full of fake bulleted lists and all, and this year I proceeded to cram every possible formatting feature into it, to see how Marvin would do with the file compared to Stanza, my previous preferred iOS e-reader. Stanza is still winning at this point, in terms of the display of this particular EPUB file, although it gets many things in it wrong, too.)
To be honest I've seen far worse support for CSS (debugging email newsletters is always "fun"). I've already switched it all around now so I have two versions. I've always written CSS to use the margin-bottom for spacing as it tends to keep things in line across columns a little better, this isn't something that's likely to be a problem in an ebook though.

I think I've got typical developers laziness, my attitude is: why press buttons and settings when I can write it once and never think about it again. It bit me in the ass this time.
m00min is offline   Reply With Quote