12-27-2018, 02:47 AM | #1 |
Connoisseur
Posts: 80
Karma: 25684
Join Date: Sep 2014
Device: Kindle NT
|
Picture height
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> Example: |
12-27-2018, 05:38 AM | #2 |
Wizard
Posts: 1,528
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
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. |
Advert | |
|
12-27-2018, 07:52 AM | #3 |
Connoisseur
Posts: 80
Karma: 25684
Join Date: Sep 2014
Device: Kindle NT
|
Thanks. Did you test any Android apps?
|
12-27-2018, 09:06 AM | #4 |
Wizard
Posts: 1,528
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
|
12-27-2018, 12:44 PM | #5 |
Connoisseur
Posts: 80
Karma: 25684
Join Date: Sep 2014
Device: Kindle NT
|
Thanks again for your help!
|
Advert | |
|
12-28-2018, 05:31 AM | #6 |
Wizard
Posts: 1,528
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
You are welcome. And if you -in this case- don't want to use svg images (the best, because no matter the text size, the image always will look perfectly crisp), then use .png and NEVER .jpg (for images as text; for others kind of images -i.e. photos- .jpg is ok).
|
12-31-2018, 03:07 PM | #7 | |
Bookmaker & Cat Slave
Posts: 11,447
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
line height | Rellwood | Conversion | 3 | 04-07-2018 04:34 AM |
Calibre Row Height | lizzielou | Library Management | 2 | 08-14-2016 08:59 AM |
Aura H2O Line height setting is ignored | kAlvaro | Kobo Reader | 6 | 08-09-2016 07:59 AM |
Advice about line-height | Julien Pham | Sigil | 2 | 12-22-2011 09:05 AM |
Max-Height | theducks | Sigil | 6 | 09-02-2010 05:40 PM |