View Single Post
Old 08-02-2017, 01:48 AM   #45
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by Hitch View Post
No, it doesn't, and I wish it would. Believe me, we've suffered with images and KF7. You can't just let them size with percentages, because on the KF7 devices, they'll blow up. ALSO, unless it's been fixed, the Voyage has/had a bug--if you had an image >50% of the size of the screen, but less than 100%, it will blow up to 100%. (That's just...an aside.)

When you code images for "Kindle," you have to set the size for KF8 in percentages, and the size for the KF7 in pixels--period. It sucks, but there it is. I WISH that KF7 would use %, because then we could either just use the same damn CSS, or some type of media-query fallback--but we CAN'T.

Hitch
I just emphasized a part of this above statement which should be kept in mind for all those who wish to convert to and use Kindle formats.

That does not make at all the concept of a near future "percentage plugin" less useful or irrelevant. Bugs in old versions of software should not block any progress. Its use has just to be an informed choice.

For me at least, the advantages of this near future plugin offset these drawbacks. Using an inline percentage width provides you with a very powerful and easy to use tool (one image, one value) to control precisely your image display.

Quote:
So, an inline style (inside a specific HTML element) has the highest priority, which means that it will override a style defined inside the <head> tag, or in an external style sheet, or a browser default value.

Source: W3C Schools https://www.w3schools.com/css/css_howto.asp

Last edited by roger64; 08-02-2017 at 02:19 AM.
roger64 is offline   Reply With Quote