View Single Post
Old 02-04-2015, 11:13 AM   #16
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,089
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by Macsurfcat View Post
Not missing that at all, I completely understand that . . .

Yes, the KF8 bit contains a CSS, and an epub that is NOT the original ingested by Kindlegen, and that CSS includes a "@media all" tag. And that, my friend, is the issue.

Returning to the first post, if you include a media tag of the form "amzn-mobi" in your CSS, in your original epub, and you ingest that into Kindle Previewer/Kindlegen, that media query neither effects the old mobi bit, nor the new KF8 bit. So, if I open that mobi on a Kindle Fire, or a "paperwhite", none of the styling enclosed within the media query will appear. If that is true, and it appears to be so, how do I target the older device/format?

Please comment
How do you know that the amzn-mobi tags do not affect the old Mobi bit of the file? Have you compared the old mobi HTML extracted by KindleUnpack on some books with and without amzn-mobi tags?

Unless you strip out the KF8 bit from the kindlegen output, you won't see the old mobi bit on Paperwhite or Fire devices. The only Kindles that will display the old Mobi and the Original Kindle, the Kindle 2, some Kindle 3s with old firmware, and some old versions of Kindle for iOS. All other Kindle devices and software will display the KF8 section instead.
pdurrant is offline   Reply With Quote