Is there something wrong with this code? The picture displays fine in Safari but Firefox doesn't display anything:
<div id="container"><img src="picture1.svg"/></div>
Is there something wrong with this code? The picture displays fine in Safari but Firefox doesn't display anything:
<div id="container"><img src="picture1.svg"/></div>
You need Firefox 4.0b6 or later for svg in img to work there, here's the bug if you're interested. Opera has supported svg-in-img since version 9.5.
Another solution for IE is Chromeframe http://wsmithdesign.wordpress.com/2010/10/03/html5-in-ie6-7-and-8-with-plugin-dubbed-ie-killer/ Apart from svgweb a plug-gin is needed for IE 6-8 Chromeframe basically adds another personality to the rendering which is standards complaint.