Thread: <wbr>
View Single Post
Old 05-18-2022, 09:08 PM   #12
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,622
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Quoth View Post
I set height to 80px and width to auto for small graphics and width to a suitable % and height to auto for large graphics.
Looks like that won't work in epub v3

From...
https://developer.mozilla.org/en-US/...ML/Element/img

Use both width and height to set the intrinsic size of the image, allowing it to take up space before it loads, to mitigate content layout shifts.

width: The intrinsic width of the image in pixels. Must be an integer without a unit.

height: The intrinsic height of the image, in pixels. Must be an integer without a unit.
Karellen is offline   Reply With Quote