Best way to check for svg capability

hi all,

how do i check for svg capability for my web page? for example if the client browser has ie then use the .png image and not the svg?

thanks,
rod

If you use the OBJECT element with a PNG fallback and it should ‘theoretically’ show the latter if the prior SVG cannot be displayed.

[FONT=courier new]

<object data="example.svg" type="image/svg+xml">
  <img src="image.png" alt="Some Image Fallback" />
</object>

[/FONT]