E
E
Eugene2016-10-21 15:24:37
css
Eugene, 2016-10-21 15:24:37

How to make SVG in IE the right size?

Such a problem. There is a Svg inserted on the site
eb8be085660d41d2943bb9f486ff30ea.jpg
In all browsers such a picture (correct)
655e43c1f9c645829186f25d3c00c0e2.jpg
In IE 10 this is
8a73364124f040e3a644809666c59ed1.jpg
And if you check the compatible box , then everything is fine Shows
10a54a3e28ca492f956e6d88e38452f4.jpg
in the title

<meta http-equiv="X-UA-Compatible" content="ie=edge">

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Titakoff, 2016-10-21
@iamd503

was bullshit.
IE will not accept autoheight SVG.
set height and width manually.
for adaptive use % and vw,
other browsers adequately set the height relative to the width of the SVG element

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question