Thread: Picture height
View Single Post
Old 12-27-2018, 05:38 AM   #2
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,801
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by senhal View Post
Hi, I'm using this css in order to get an image high as text:
Code:
<p>Bla bla <img style="height: 1em" alt="" src="../picture.jpg"/>
bla bla.</p>
Is it working on all readers/apps?

Example:



It should; afaik, it works in all ereaders I tried. By the way, in those cases (images with the height of the text), it would be prefer to use a svg image instead of a .jpg. You can trace the .jpg image as .svg with Inkscape.

Last edited by RbnJrg; 12-27-2018 at 02:50 PM.
RbnJrg is offline   Reply With Quote