S
S
seredaes2015-09-03 17:15:46
HTML
seredaes, 2015-09-03 17:15:46

How to overcome SVG display in safari?

Hi people.
I have an svg image.
In safari, the norms are displayed, connected as <img src="img.svg">
But if you change the src using jQuery, the image is terribly small ...
86b321d89f8742b38a6277d8d3979277.png
The size does not change ... only through attr("src") the link to the image changes
Why it happens ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drm, 2015-09-10
@seredaes

You need to edit the SVG file itself, very often the size is hardcoded in such files.
Open the SVG file with any text editor and take a look. You can submit content here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question