Thread: <wbr>
View Single Post
Old 05-18-2022, 09:50 PM   #13
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,086
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Karellen View Post
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.
That refers to the width and height attributes, not the CSS properties of the same name.
jhowell is offline   Reply With Quote