Search and Top Navigation
#8015 closed bug (notabug)
Opened January 15, 2012 11:38PM UTC
Closed January 16, 2012 01:09PM UTC
Date picker alignment problem for certain body style settings
Reported by: | phill.l | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.17 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The date picker alignment is way off when the following styles are used on the body element:
max-width: 300px; margin: 0 auto; position: relative;
It's possible to work around the issue by wrapping the entire content in a div and applying the styles to the div instead of the body element.
Here's sample HTML, add the JQuery references to the head.