D
damiensawyer
I have an ASP:Treeview control
<asp:TreeView Id="TreeView2"
PathSeparator = "|"
OnTreeNodePopulate="PopulateNode"
ExpandDepth="1"
runat="server"
cssclass="TreeControl"
ExpandImageUrl="~/images/bullets/right.gif"
CollapseImageUrl="~/images/bullets/down.gif"
NoExpandImageUrl="~/images/bullets/right2.gif"
NodeStyle-HorizontalPadding="5"
NodeIndent="10"
PopulateNodesFromClient ="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
<asp:TreeView Id="TreeView2"
PathSeparator = "|"
OnTreeNodePopulate="PopulateNode"
ExpandDepth="1"
runat="server"
cssclass="TreeControl"
ExpandImageUrl="~/images/bullets/right.gif"
CollapseImageUrl="~/images/bullets/down.gif"
NoExpandImageUrl="~/images/bullets/right2.gif"
NodeStyle-HorizontalPadding="5"
NodeIndent="10"
PopulateNodesFromClient ="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