I have an ASP:Treeview control
<asp:TreeView Id="TreeView2"
PathSeparator = "|"
OnTreeNodePopul ate="PopulateNo de"
ExpandDepth="1"
runat="server"
cssclass="TreeC ontrol"
ExpandImageUrl= "~/images/bullets/right.gif"
CollapseImageUr l="~/images/bullets/down.gif"
NoExpandImageUr l="~/images/bullets/right2.gif"
NodeStyle-HorizontalPaddi ng="5"
NodeIndent="10"
PopulateNodesFr omClient ="true"
I am trying to set the text color in my css style sheet - however it is
not working. The font-size attribute works, but not the color.
..TreeControl
{
color:Red;
Font-Size:0.9em;
}
If I set the forecolor property inside the <asp:TreeView > tag, then
the color works fine... however, I need to use the style sheet.
Can someone please let me know what I'm doing wrong?
Thanks very much in advance,
Damien Sawyer