38328Fallback with SVG embedded in HTML on Safari
- Jan 1, 2004Hi,
I've been trying to use the HTML <object> element to embed SVG in an
HTML page with a fallback PNG image if the SVG mime-type cannot be
handled by the browser. So far, I've experimented with:
<object data="img/animated_logo.svg" width="230" height="550"
<img src="img/static_logo.png" width="230" height="550" alt="static
fallback for animated SVG version" />
I managed to get this to work in the latest IE Mac, Camino but not with
the latest Safari. Is my code wrong, or is Safari just lame about this?
Also, does anyone know if this works on IE 5.5 and 6 on Windows? Thanks
p.s. Jim, I know you wouldn't recommend using <object> in the first
place, this is my penance for going my own way!
Antoine Quint <aq@...>
W3C SVG Working Group Invited Expert
SVG Consulting, Teaching and Outsourcing
Fuchsia Design <http://www.fuchsia-design.com/>
- Next post in topic >>