Opened 11 years ago
Closed 11 years ago
#8015 closed bug (notabug)
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.
Change History (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
jQuery and jQuery UI don't support relatively positioned bodies.
Note: See
TracTickets for help on using
tickets.
Here's sample HTML, add the JQuery references to the head.