Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
Using jQuery UI
karindpow..
DatePicker calendar width issue
in
Using jQuery UI
•
8 years ago
Please look at my image below to see my issue.The calendar is breaking out of the div / container?
I've put the thick solid red border around it to help show what's really going on (see image below).
I'm loading these in the header:
jquery.js
jquery-ui.min.js
jquery-ui.theme.min.css
jquery-ui.min.css
I also added to my CSS... but this CSS isn't solving the issue below.
.ui-datepicker { width: 216px;
height: auto;
font: 9pt Arial, sans-serif;
border: thick solid red;
}
There is an 'outer div' around the date fields:
<div style="text-wrap:none; margin:16px 0px 16px 0px;">
<input type="text" name="mydate" id="mydate" size="10" class="DatePickerCalendar">
<script type="text/javascript">
$(document).ready(function(){
$(".DatePickerCalendar").datepicker({
dateFormat: 'mm\/dd\/yy',
closeText: "Close",
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa']
}); //DatePickers
}); //document ready
</script>
Thank you for your assistance.
1
Replies(3)
KevinP
Re: DatePicker calendar width issue
8 years ago
Is it possible you could put the code in a
https://jsfiddle.net/
page with all the related code?
Leave a comment on KevinP's reply
jakecigar
Re: DatePicker calendar width issue
8 years ago
remove
.ui-datepicker { width: 216px;
height: auto;
font: 9pt Arial, sans-serif;
border: thick solid red;
}
JΛ̊KE
Leave a comment on jakecigar's reply
karindpow..
Re: DatePicker calendar width issue
8 years ago
I found the issue..
It was in some other CSS that was affecting the page.
The other CSS set a min/max width for all tables.
To solve, I added min-width and max-width to .ui-datepicker table
Thank you for the replies.
Leave a comment on karindpowell's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to karindpowell's question
Top
Reply
{"z41190616":[14737000006132342,14737000006144017],"z49277394":[14737000006130381],"z2950240":[14737000006129295]}
Statistics
3
Replies
20409
Views
0
Followers
Tags
Cancel
calendar
datepicker
width
Actions
Permalink
Related Posts
datepicker calendar width issue