Quote:
Originally Posted by JLius
I'll answer that one myself: it's the preserve ratio isn't it.
|
The svg wrapper has a lot of properties, do a search in this forum and you'll find a lot of info. But in this case, if the image is used without a svg wrapper (as I told you) it also maintains the ratio because the "height" of the image is set to "100%" and the "width" is set to "auto". Do the try by setting your device reader in portrait and landscape mode and you'll always see the whole image and with its ratio preserved. But don't take this as if I don't want you to use svg wrappers

Personally I use them a lot and that was my first conceil to you (but to use text

) You gave me your reasons to use a image as title page and at this case I think that a svg wrapper could not help significantly (especially if you didn't understand its operation). Unless that your title page has arranged the text of that way that you can use the svg property "preserveAspectRatio" with different values than "meet" (that is "slice") and "xMidYMid" (for example "xMidYMax"). Then, the svg wrapper will have a lot of meaning and you should used it without thinking a lot
Regards
Rubén