Quote:
Originally Posted by jhowell
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%