View Single Post
Old 09-02-2022, 04:35 PM   #7
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,368
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by jhowell View Post
I don’t know much about Kobo, but I know that an attribute of width="100%" is not correct HTML.
nvm....I thought you were referring to Wolfies post...I just saw it was for philm's.


Not sure why you would consider that incorrect? (definition) It is simply saying the maximum width of the image is 100% of the parent container. If you don't specify a height, it will automatically adjust height to keep the proper aspect ratio.

I regularly set a specific width and a max-width on my images and haven't had any issues with it.

Code:
width:50%;
max-width:1000px
max-height:100%

Last edited by Turtle91; 09-02-2022 at 04:44 PM.
Turtle91 is offline   Reply With Quote