Using cssclass with OtherMonthDayStyle
I am trying to apply a cssclass to the OtherMonthDayStyle Attribute in a calendar.
<OtherMonthDayStyle cssclass="othermonthdate"></OtherMonthDayStyle>
In the css, I have:
.othermonthdate{
color:red;
}
However, the style is not being applied. The only way that I am able to apply a color to the OtherMonthDayStyle is to use the forecolor attribute instead of a class:
<OtherMonthDayStyle forecolor="red"></OtherMonthDayStyle>
This works but does not allow me to dynamically alter the color using style sheets. Any ideas?
|