0

I exported my logo from Adobe Illustrator as .svg and I want to display it on my website as background-image:url(name.svg);

Altough it says that background-image url it's supported until IE 8

Can I use svg

I can't even see it work on this

JSFiddle

on IE11 on my computer.

Is there any JSFiddle example of a working background-image:url(.svg) in > IE10?

Thank you!

vivekkupadhyay
  • 2,851
  • 1
  • 22
  • 35
  • have you checked SVG url instead of data? – Aziz Feb 08 '16 at 12:39
  • try exporting it as `.svg` image instead of `data-url` or `svg-code`, also check this [**JSFidde**](http://jsfiddle.net/vivekkupadhyay/SJjJb/2285) – vivekkupadhyay Feb 08 '16 at 12:42
  • See my fork - it works on IE http://jsfiddle.net/azizn/c1u46cb5/2/ – Aziz Feb 08 '16 at 13:45
  • 1
    thank you all for the answers. The problem was caused by the server not returning the correct MIME type. It should have returned image/svg+xml but it actually returned text/xml. – user3642381 Feb 08 '16 at 13:48

0 Answers0