Forum Moderators: open
The code is:
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg">
<g transform="scale(0.5)">
<polygon style="fill:red; stroke:blue; stroke-width:10"
points="350, 75 379,161 469,161 397,215
423,301 350,250 277,301 303,215
231,161 321,161" />
<polygon style="fill:lime; stroke:blue; stroke-width:10"
points="850,75 958,137.5 958,262.5
850,325 742,262.6 742,137.5"/>
</g>
</svg>
How do I change the code so that it can work on IE without Mozilla being affected by those changes?
Mozilla has its own plugin and IE can use the Adobe SVG Viewer plugin. The problem is that they require different syntax of codes. I want to know what kind of differences and the specs of those differences.
[mikepick.com ]
My team uses the tag <embed> to include the .svg file within the browser. It works for IE but not for Mozilla because the SVG viewer is not supported by Mozilla. Now I have to find a way to include the .svg file within the HTML file without having to resort to writing two separate files for IE and Mozilla. I cannot copy the contents in the .svg file and paste it in the HTML file because it won't work with IE because IE does not have SVG capabilities built in yet and Mozilla does have some degree of SVG capabilities built in.
Does anybody have any idea?
I'm on a Mac, and the Adobe svg plugin is working perfectly with Mozilla since 1.4 here - including text.