Hi Martin,
Welcome to ASPNET newsgroup. From your description, you're trying to apply
an css style for the ASP.NET , but find that the forecolor style you apply
on the Today CEll always not work(replaced by an existing "color:black"
style in the <a> link , yes?
As for this problem, I'm afraid it is an exsiting problem of the ASP.NET
Calendar control. And the default
"color:black" style is infact hardcoded in the Caleandar control's code.
That's why you can not found any settings in the Calendar's Style Template.
I've also seen many other ones discussing on this problem in many public
formus. Unfortunately, we haven't an good means to gracefully resolve it
currently.
Some developers have tried overriding the Render method of the Calendar
control (provide their custom Calendar control dervied from the Buildin one)
here are some related tech articles:
#BetterCalendar WebControl
http://www.codeproject.com/aspnet/BetterCalendar.asp
#Calendar buggy styles, and the OOP fix!
http://weblogs.asp.net/cazzu/archive.../02/66130.aspx
HTH. Also, I'm sorry for the inconvenience the problems bring you.
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)