Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ben on Apr 20, 2009 14:57
open dhtmlx forum
calendar Month/Year not centered

If we have in our CSS
* {
margin: 0;
}

The month/year is not entered at the top of the calendar (its to the left), example "April, 2009"
Answer posted by Alex (support) on Apr 21, 2009 01:36

Your css was also applyed to the month and year elements. 

YOu can try to define the necessary margin for month in the following class:

.dhtmlxcalendar div.planeMonth{
margin-left:  XX px !important;
}

Answer posted on Jun 07, 2009 15:31
No this did not work.  It adds margin on the left of each part of the date on the top.
Answer posted by Support on Jun 08, 2009 05:38
Adding of next css rule, resolves problem

<style type="text/css" media="screen">
 .dhtmlxcalendar table {
margin:auto;
}
</style>

Sample is attached. 
Attachments (1)