Inline SVG not displaying inline

时间:2015-05-24 20:54:57

标签: internet-explorer svg

I have a SVG that is displaying in a weird position in IE. It displays above the text, and centered. It seems to me that it's trying to display as a block element, so I added display: inline-block to it. It doesn't help.

1 个答案:

答案 0 :(得分:3)

解决。只需要为SVG添加宽度。