View Single Post
Old 12-08-2014, 12:50 PM   #10
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
@Doitsu: Thanks for the compliment
My memory was slightly faulty; I had to use a different css file for the epub, as ADE utterly ignores a css file which includes @media tags. However, the kindle css file is still included in the epub file as OEBPS/Styles/book-kindle.css (along with a lot of cruft-files I've forgotten to clear out.)

The @media tags is used to deal with both the different aspect ratio and the different reference pixels on Kindle e-inks and Fires.

P.S. Did I mention that full-height floating images can cause lines of text to disappear? I had to add a kludge where I reduced the height of the image to a mite less than 100% and add a narrow white full-width image at the bottom.
SBT is offline   Reply With Quote