Actually, you don't need to browser sniff in this situation.

if you want to use border-radius for webkit and mozilla do something
like this

-moz-border-radius: 1em;
-webkit-border-radius: 1em;
border-radius: 1em;


this is perfectly valid css - a browser will ignore the declarations
it doesn't understand.

Mozilla's border-radius support is a bit sketchy right now - for XRAY
I only used webkit and the standard property.

http://westciv.com/xray/

You can find a table of supported CSS3 (esque) features in various
browser, and tests here

http://westciv.com/iphonetests/

HTH

john


On Aug 4, 8:49 am, Randy Walker <[EMAIL PROTECTED]> wrote:
> Try adding a browser sniffer.  Then load the appropriate CSS file to match.
>
> Mozilla has a many of the same elements and classes as the -webkit ones.
> They start with -moz- rather than -webkit-.
>
> http://developer.mozilla.org/en/docs/CSS_Reference:Mozilla_Extensions
>
> If it doesn't have an exact replica for -webkit-border-image, then you'll
> have to redefine the way you use images as backgrounds to your buttons for
> non-Safari browsers.
>
> -=Randy
>
> On 8/3/07 9:01 AM, "Snyke" <[EMAIL PROTECTED]> wrote:
>
> > Hello everybody,
>
> > I'm developing on an expense tracker, but guess what: I don't own an
> > iPhone, and I would like to make my application compatible to other
> > browsers too. It is based on iUI and I noticed that some styles are
> > completely incompatible with other browsers, such as Firefox which is
> > what I'm coding on.
> > It would be nice to make my application also into a widget for iGoogle
> > and netvibes so you'll understand how important it is for me to make
> > it compatible.
> > Most important is that I find a good alternative to -webkit-border-
> > image which is getting a bit annoying in other browsers.
>
> > Regards,
> > Chris
> > --
> >http://www.snyke.net


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to