Ajax Calendar doesn’t render properly
Posted by ken zheng on May 22, 2008
If your Calendar Extender doesn’t render properly, normally because its’ style has been overriden by the css. As Calendar heavily use DIV, TABLE. To recover this just wrap your textbox and calendar in <DIV class=”calendarContainer “>
and put the following lines in your css:
.calendarContainer table
{
width:0px;
height:0px;
}
.calendarContainer table tr td
{
padding:0;
margin:0;
}
And check your css file doesn’t include
div
{
min-height: 0;
}
it will set haslayout = true, and you have no way to set to false later.
Look http://www.satzansatz.de/cssd/onhavinglayout.html for more details
Mark said
Thanks a million! This fixed my problem that was costing me hours of frustration!!