Problem with datepicker display

Problem with datepicker display

Hi folks,

I am actually experiencing a quite odd problem with the jQuery UI datepicker.

As you guys can see in the attachment (screenshot1.jpg), the datepicker textbox (2008-10-24) is in a fieldset. Below, there is another fieldset (the two light blue elements in the screenshot are fieldsets). The jQuery datepicker appears behind the two fieldsets.

The problem occurs in IE6 but not in IE8. In IE8, we have a similar problem with legends (see screenshot2.jpg). The legend overlaps on the datepicker.

Does anyone here has any idea? Is it possible to fix these two glitches so it could show up perfectly in both browsers?

Thank you very much!