Is there any way to do something conditionally in jquery only if IE6 is the browser? An example of the kind of thing I'm looking for is as follows:
$("#someselector").IsIE6().css("position", "relative").css("left", 40);
I'm plagued by a strange problem with the JQuery UI dialog and adding this code resolves the issue, but obviously messes up all the other browsers