That will not avoid IE's ClearType issue, since IE is supporting opacity and you still end up in the else branch.
I think it's one of he rare cases where you need to do browser sniffing. I don't think there's a way to find out, if the ClearType issue is happening or not. --Klaus On 13 Feb., 04:21, Chris <cpot...@siolon.com> wrote: > I ventured into feature detection, and I want to make sure I'm doing > this the "right" way. Basically the fx on the jQuery UI tabs causes > aliasing in IE 6/7 (but not 8). Instead of checking for those browsers > the old way I thought this is the right way. > > if (!$.support.opacity) { > $(".ui-tabs > ul").tabs(); > } > else { > $(".ui-tabs > ul").tabs({ > fx : { > height: 'toggle', > opacity: 'toggle' > } > }); > }