Zizhang Ai Zizhang Ai - 2 years ago 164
CSS Question

How to render svg with cripEdges under IE11?

I'm trying to render svg lines. I can set

under chrome, but it doesn't work with IE11. How can I do the same with IE11? Thanks!
enter image description here

Answer Source

Turns out I have to set the attribute of the svg element, not the "style" of it. I was setting it to <line style="shape-rendering: crispEdges" />. It should be <line shape-rendering="crispEdges"/>

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download