Quote:
Originally Posted by kovidgoyal
Well if you are preserving aspect ratio, there's no need for SVG at all.
|
I believe with SVG you can make an image fit a screen or view area, no matter whether it is wide or narrow, portrait or landscape... but if you just set "height: 100%" in a normal <img> element, if it happens that the screen is narrower than the image, then it will not fit. This is at least the "advantage" I saw in using an SVG wrapper (the disadvantage is the lack of SVG support in some systems).