Thanks for your responses guys. I actually need to detect the Opera browser and serve up a load of new CSS. Opera doesn't support negative vertical span margins, so I'm gonna have to reduce the font-size of some text.
I don't know of a 'hack' to target Opera 10, so JS is the only way to go. I can cover my back with conditional comments regards IE, but I'm still left with my Opera issue. Thanks, L On Sep 17, 12:24 pm, Steven Yang <kenshin...@gmail.com> wrote: > AFAIK $.broswer is not the way to go in latest jQuery is simply because > browser sniffing is not recommended and not the jQuery way of getting things > work cross all browsers.and not that because $.browser has problem itself > > it really depend on why you need to know the different browsers. jQuery > recommends "feature detection" in contrast to "browser sniffing" > > all i can think of the only reason to use browser sniffing is to solve the > IE6 <select> problem. > of course i maybe wrong > > On Thu, Sep 17, 2009 at 7:09 PM, ldexterldesign > <m...@ldexterldesign.co.uk>wrote: > > > > > Is conditional comments in the header my only way out of this? > > > ldexterldesign wrote: > > > Easy guys, > > > > I wondered if anyone would be kind enough to point me in the direction > > > of a good browser detection script/plug-in/tool? I've heard/read > > > jQuery.browser isn't the way to go with the latest jQuery (v.1.3.2). > > > > The cause really doesn't warrant setting it up server-side if I'm > > > honest. > > > > Thanks, > > > L