Is there a way to add an in-line image using HTML that is responsive but has a max width?
I know that I can use <img width="100%" />
to make it responsive, but this results in the image resizing to the container size, and I want to set a max width/size for it.
Is this possible? The reason I don't want to do it using CSS is because in this instance I can't edit the master/parent CSS and would rather not use in-line CSS.
Thanks.
max-width
to the container of theimg
<img style="max-width:100%;">
<img style="max-width:100%;">
works as long as the actual size of the image is not larger than I want it to appear on desktop/larger screens, so that's what I'm going to do.