Thank you all for your help. Actually, it was a problem with the web server where the wrong MIME type for SVG was launched, and this caused browsers to not display correctly.
Here is what fixed it for me.
I first switched from the built-in web server of VS 2010 to IIS Express. Then in my web config I added:
<system.webServer> <staticContent> <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> </staticContent> </system.webServer>
Now everything is working correctly.
user169867
source share