IE 11 :after background size not working

故事扮演 提交于 2019-12-07 16:12:29
Dinkheller

Read this link

Adobe Illustrator give me four options to declaring style sheet properties when saving graphics as an SVG file

  • Presentation Attributes

  • Style Attributes

  • Style Attributes (Entity Reference)

  • Style Elements

No problem using the first three ways to styling properties, but embedding style sheets into SVG content inside a element cause the problem!

I had similar issues rendering CSS in IE. My solution:

  • Make sure you have a <!DOCTYPE> declaration before your html
  • Add the meta tag <meta http-equiv="X-UA-Compatible" content="IE=edge" > (this makes sure that your code always renders the cutting edge or most updated version of internet explorer; else, it can render from older versions and things get really messy.)

I hope that helps.

rrd

Try adding in display:block to the css.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!