Thursday, June 10, 2010

jQuery calendar IE 7



I was trying to use the jQuery calendar datepicker (http://docs.jquery.com/UI/Datepicker) and I've had it working before on another project (on all browsers including IE 7), but in the current project I'm working on, sometimes the arrows (Next, prev) to move to the next and previous month don't work correctly in IE7. In firefox, opera, safari, IE8 it works fine. What's worse, it also worked fine in IE 7 on the previous project. So how was this project different?

I had noticed that the global CSS property position was set to relative as follows:

* {
    position: relative;
}

 To get it working, I did an override on the global property as follows:
* {
    position: static;
}

That got the arrows in the calendars working again

No comments:

Post a Comment