View Single Post
Old 12-20-2008, 03:31 AM   #10
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by kovidgoyal View Post
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).
Jellby is offline   Reply With Quote