Quote:
Originally Posted by Hitch
You can write them wherever you want, but you need to put the correct media wrapper around them.
|
Well, I hope so!

Basically, I have the same style sheet that I used for iBooks/ADE (with just a few new tweaks to it), and then at the end I put all my "new" styles for mobi at the end, with this wrapped around them...
@media amzn-mobi {
[all my mobi styles here, written out like any other styles would be written out]
}
That is how I'm supposed to do it, isn't it? Like, at the end, I'd effectively see two of those closing curly-brackets, right? I've got a whole bunch of styles in there -- or am I supposed to have that "@media amzn-mobi" stuff wrapped around each and every individual style (for mobi)? I just assumed it was the same as, say, wrapping a <div> around a whole bunch of stuff (if you know what I mean).
Quote:
I know I'm going to find out that this was asked earlier, but, Psymon, you DID remember to go to the font list and turn on "Publisher font" for the Paperwhite view, right? You're not expecting the font to simply display, are you?
|
Ha ha, no, I'm slow, but not that slow!
However, now you've got me wondering if there's something corrupt with my Kindle Previewer. Your question got me to fire it up again and check my book (and my settings), and
before my fonts weren't showing up in Paperwhite, but my styles in KDX seemed to all be coming out reasonably okay. In checking it out again just now, though, suddenly the fonts
are showing up in Paperwhite (and my font settings are the same as before), but my styles in KDX aren't rendering correctly!
I honestly don't know what's going on -- like I said, maybe my installation of KP is corrupt, or maybe it's some weird bug in it... or maybe it's a ghost that just doesn't want me to get this right (which would be my luck!). :/
Quote:
And what's the real physical size of the image you're using, in terms of pixels? Remember that all the devices will display this image differently, based upon the actual a) pixel size of the image and b) the pixel density of the display. A 100-pixel wide image, for example, looks very different on a DX than it does an HDX. Just FWIW.
|
Geez, this only seems to get more and more ridiculously complicated.
Well, my dropcap images are all about the same size as the example I posted earlier today (which is one of them) -- they're all 216 px wide, and vary between 215-220px in height or so.
I'm finding Kindle so utterly
exasperating, actually. Trying to figure this out has been like riding on a train that keeps going off the rails -- I'll finally get the train going, slowly-but-surely, but then the next thing I know I'm in another train wreck and everything comes to a complete halt (which is when I come here and call out for help!), and then I'll slowly get it lumbering along again... only to end up in yet another wreck that has me trying to clean up yet another disaster and figure out how on earth I got off the rails again.
You all really have my admiration for having figured out how to stay "on track", that's for sure!