Quote:
Originally Posted by jhowell
That was not meant as a suggestion! I recommend against leaving out styling for your images.
The 39.063% that appears in KFX if you use no styling for a 200x300 image is not a constant. It depends on the image size. If you use a 400x600 image with no styling you get width:78.125% as a result instead. I can't explain why these occur and do not recommend relying on them.
Percentage width should be used. And if you are concerned about the best look for older, non-KF8/KFX devices, also using height/width in pixels via media queries to cover that case.
|
Thanks jhowell. I figured the 39.063% was too good to be true. Here's the result of a backmatter image (in my Kindle Touch 7) that was simply:
Code:
<img alt="ManofGodNewFinal800X1200" src="../Images/ManOfGodNewFinal800X1200.jpg"/>
see attachment
Kind of big and from what you're saying that would swamp the older Kindles.
Right now I'm thinking of this (for backmatter images):
Code:
<img alt="ManofGodNewFinal400X600" src="../Images/ManOfGodNewFinal400X600.jpg"/>
Does that sound sane? It shouldn't overwhelm the old Kindles and shouldn't be too tiny on the bigger Kindles and tablets.
Then if I can figure it out, I'll try the percentages and media queries.