Illustrator created svg not work in browsers -


i created star using illustrator saved svg file. later in html coding called svg this:

<object type="image/svg+xml" data="images/star.svg" width="100%" height="100%"></object>

but unable see image in browsers. have tried safari version 5.0 , firefox 5.0 versions preview html.

is possible svg file display in browser?

yes, possible. can use object tag, or can use css background-image, or recent browsers can embed directly inline using the<svg> tag. read this:

http://www.alistapart.com/articles/using-svg-for-flexible-scalable-and-fun-backgrounds-part-ii


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -