I use this code in my CSS to display images on one line, instead of stacking on top of each other:
img { display: inline; }
I used this in combination with the following markup to make a row of social media icons:
<$img:social_facebook;w=40;ebook=10%><$img:social_twitter;w=40;ebook=10%> etc.
This works great with epub, and used to work fine with Kindle, but something has changed. It looks correct in Kindle Previewer (screenshot) but when using Send to Kindle to view it on my device or when I upload it to KDP, the images are stacked and full-width (screenshot).
I’ve even tried uploading an epub to KDP instead of a mobi, but that does not work either, the images are not inline.
UPDATE: This looks to be a way larger problem than it first appeared. In running some tests, it seems that Kindle is ignoring both the CSS command AND the image size markup in Scrivener!!!
ANOTHER UPDATE: When I take an epub and run it through Calibre to convert to mobi then send it to my device… it works. So there’s a problem with the mobi / epub generated by Scrivener when then taking that and uploading to KDP or sending to an Amazon device.
Scrivener itself does not generate a mobi file. It generates an epub, then hands it to Amazon’s tools for the conversion.
So what you’re essentially saying is that a Scrivener-generated epub works fine when converted by Calibre, but not when converted with Amazon’s own tools.
Thanks for giving this some attention! It’s so much appreciated. I’m using v 3.13 for the Mac. So it sounds like the epub / mobi file generated by Scrivener has something going on where it’s displaying fine on certain tools (such as Apple Books / Kindle Previewer), but the CSS instructions to put images inline & code to set their sizes are for some reason ignored on Kindle Cloud Reader or on the Kindle iOS app.