admin管理员组文章数量:1430629
I am trying to embed svg in my document so I can style the svg with external stylesheet bt using object tag or embed I run into the problem of the svg document not loading either with object.getElementById("object") nor with loading into embed tag
embed code
<div id="paraone">
<div class="righthand-graphics-container">
<embed id="infographic" data="path to svg" type="image/svg+xml" />
<embed id="infographic-0" data="path to svg" type="image/svg+xml" />
</div><p></p>
</div>
I have tried resolving it with suggestions from copilot but the file path is correct should not be permissions I can load it into img tag and object however object tag has similar issue probably same if I figure it out. When I look under developer tools network tab the file does not show just not attempting to get the file or no problem getting the file and somehow not loading.
I need some wise heads who might have seen this problem :)
本文标签: htmlgetting document (about blank) when using embed tag with svgStack Overflow
版权声明:本文标题:html - getting #document (about: blank) when using embed tag with svg - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745517479a2661626.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论