M
Mark Rae
Hi,
Has anyone found a fix for the <asp:Calendar> / CSS bug whereby certain
attributes (mainly colours) are not rendered correctly?
E.g.
<asp:Calendar ID="calTest" runat="server"
OtherMonthDayStyle-CssClass="calOtherMonthDay" />
..calOtherMonthDay
{
font-size:xx-small;
color:Green;
}
The font-size attribute works, but the color attribute doesn't, no matter
what I set it to.
Hard-coding the style attributes in-line works, but I don't want to do that
in this instance because this particular site needs to change its style
depending on the currently logged-on user, and I'm achieving that through
stylesheets.
Does anyone know if there is an easy fix for this bug? The very last thing I
want to do is to interrogate the various styles in code-behind and apply
them in the DayRender event, but I'm thinking I don't think I have many
other options...
Any assistance gratefully received.
Mark
Has anyone found a fix for the <asp:Calendar> / CSS bug whereby certain
attributes (mainly colours) are not rendered correctly?
E.g.
<asp:Calendar ID="calTest" runat="server"
OtherMonthDayStyle-CssClass="calOtherMonthDay" />
..calOtherMonthDay
{
font-size:xx-small;
color:Green;
}
The font-size attribute works, but the color attribute doesn't, no matter
what I set it to.
Hard-coding the style attributes in-line works, but I don't want to do that
in this instance because this particular site needs to change its style
depending on the currently logged-on user, and I'm achieving that through
stylesheets.
Does anyone know if there is an easy fix for this bug? The very last thing I
want to do is to interrogate the various styles in code-behind and apply
them in the DayRender event, but I'm thinking I don't think I have many
other options...
Any assistance gratefully received.
Mark