Reliably detecting

后端 未结 5 1875
面向向阳花
面向向阳花 2020-12-16 17:35

I\'m currently doing some redesign of a website, basically just upgrading it to a more up-to-date look and trying to make it as resolution independent as possible, and in th

5条回答
  •  春和景丽
    2020-12-16 18:21

    Use -Tags for displaying SVG. See http://caniuse.com/svg-img and http://www.w3schools.com/svg/svg_inhtml.asp

    Firefox 3.x can also display SVG images, just no embedded SVGs. I’m not sure about those on the other browsers neither. FF4 will also allow embedded SVGs.

    With the -Tag you can also include alternative PNG-displaying of images, in case the browser does not support displaying SVG.

    提交回复
    热议问题