36
crisz
7y

Svg files don't work with Edge
*facepalm*

Comments
  • 2
  • 6
    realy? 😲
  • 4
    Hmm. Are you sure?

    All the projects I've done this year use some form of SVG background, that works in Edge. Pretty sure it does on an image tag too

    Are the headers set to the right mime type?
  • 4
    I can say that indeed it is working, I have some decorations elements on my website that does work on edge
  • 1
    @itsdaniel0 obviously I'm not saying that they don't work at all, but inside a img tag they have problems at calculating the relative size. I just did some tests with some svg images and they show well in all the browsers expect edge
  • 1
    @crisz Ah, sizing. I find the SVG image will ALWAYS be 100% of the browser unless you define a width. Can't say I've had it specific to Edge.
    I suppose it all depends how you export them though. I recall us trying a few different options.
  • 3
    Microsoft Web Browser Development Team™ – providing compatibility exceptions for you full-time since 1995
  • 0
    @itsdaniel0 thank you for the advice, I'll try it
Add Comment