Quantcast
Channel: MobileRead Forums - Kindle Formats
Viewing all articles
Browse latest Browse all 861

how to use device independent (dp) in HTML to MOBI

$
0
0
I need help making images look the same across devices.
I am developing an ebook to publish on Fire HD, HDX, HDX 8.9 and the new HD 10.
I create the content in HTML format, which includes includes images that are tagged in px units. I assemble the ePub using Sigil.
I view the ebook using Amazon Fire HD Previewer, that lets me see the book in HD (which I assume means HD7), HDX (which I assume is HDX8), and HDX 8.9. The previewer cannot not simulate HD 10 yet.
The images look big in HD, fine in HDX, and tiny in HDX 8.9.
I changed the HTML to tag the figures in dp units instead of px but nothing changed.
I read that dp units means the dp=px at 160 dpi device but the image should scale for devices with higher dpi. It does not happen in the Previewer.
What am I doing wrong?

Viewing all articles
Browse latest Browse all 861

Trending Articles