Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I've been searching for hours on how to fix my calendar. It only displays Sunday-friday, Saturday is completely cut off. The reason its doing this is because my calendar extender is inside a table which has its own style. I've tried editing the margins, padding, z-index. I've copied the css for the original calendar and pasted it into my css file and I haven't gotten any of it to work. Help would be appreciated. Thanks


CSS
#myTable, #myTable td
    {
        border-style: solid;
        border-width: thin;
        border-color:Black;
        border-collapse:collapse;

    }

    #myTable th
    {
         background-color: #DDDDDD;
         border-style: solid;
         border-width: thin;
         border-color: Black;
    }


.caltheme tr td {padding:0;margin:0; background-color:White;}
.caltheme td:hover { background-color:Aqua;}



XML
<asp:TableCell>
           <asp:TextBox ID="triDate" runat="server" TabIndex="25"/>
               <asp:CalendarExtender ID="triCalendarExtender" TargetControlID="triDate" runat="server" CssClass="caltheme"/>

       </asp:TableCell>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900