We recently upgraded our WSS 3.0 site to SharePoint Foundation 2010. Following the upgrade we've noticed that the date picker control does not align correctly on some of the old WSS 3.0 sites as shown in the picture below:

It's odd, because some of the old WSS 3.0 sites and any new SharePoint Foundation 2010 site renders the control correctly as shown in this picture:

Can anyone tell me why some of the sites are not rendering this control in the correct location?
Can anyone tell me how I can correct this problem?