Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> For some time, all major browsers already support SVG.

Not time enough. Plenty of people still use IE8, which doesn't.



You can use SVGWeb as fallback solution for IE6-8 user: http://code.google.com/p/svgweb/


If your SVG file is properly crafted (viewBox & maybe preserveAspectRatio attributes) then you can do this:

    <object type="image/svg+xml" width="640" height="480" data="http://example.com/image.svg">
        <img src="http://example.com/image.png"/>
    </object>




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: