Search code examples
htmlcsssvginternet-explorer-8compatibility

IE document mode 8 or below is not compatible with .svg image type


I have a document which has to be compatible with IE document mode 8. The html document has the following line

<meta content="IE=8" http-equiv="X-UA-Compatible">

Now I have an .svg image which i Display using css file as follows,

background: url('../images/iPhoneAppStoreLogo.svg') no-repeat 0 0;

But this image is not displayed in IE Document mode 8 (Image is displayed in IE Document mode 9 and above). I have seen solution saying to increase the mode, but my application needs support IE Document mode 8 as well. So is there any solution for this problem

Thanks in advance


Solution

  • It's known that IE has some issues with .svg. it's recommended to use a fallback while working with .svg check this tutorial, will help you a lot.