Inline SVG Content not displaying in IE Screenshot

前端 未结 2 1323
囚心锁ツ
囚心锁ツ 2020-12-15 11:00

I\'m working on a thumbnailer whereby a service takes thumbnail images of HTML content in a form-less IE9 control. Everything is working smoothly with a DrawToBitmap call al

2条回答
  •  长情又很酷
    2020-12-15 11:41

    You can also set a doctype of HTML4 strict or HTML5.

    
    
    

    From http://www.seowarp.com/blog/2011/06/svg-scaling-problems-in-ie9-and-other-browsers/ :

    Before I begin, I’d just like to point out that on my test page, Internet Explorer 9 refused to display any of my SVG images on a basic HTML page until I declared the HTML4 strict or HTML5 doctypes.

提交回复
热议问题