I'm trying to write a web app that works in both Android and iPhone. I
wanted to use SVG images so that they would scale well. I have just found
that Android WebKit does not support SVG, so I wanted to have a fallback PNG
for Android. I first tried using the <OBJECT> tag, but that makes the image
lose transparency for some reason. I also tried multiple CSS rules:
div.logo {
background:url(/images/logo.png) no-repeat scroll center center;
background-image:url(/images/logo.svg);
height:115px;
}
But Android WebKit still picks up on the second rule even though it can't
support it. Any ideas?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.