Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Trre node colors

Reply
Thread Tools

Trre node colors

 
 
AAaron123
Guest
Posts: n/a
 
      08-06-2008
My TreeNodesw take on the colors specified in my .css file for

a:link {color:Red;

}

a:visited {

color: #C19B28;

}

a:hover {

text-decoration: underline;

color: #E6CD84;

}

a:active {

color: #C19B28;

}





So I added to .css a set for TreeNode but that didn't help.

So I tried

<asp:TreeView ID="TreeView1" runat="server" NodeIndent="40" ShowLines="True"

ShowCheckBoxes="All" ShowExpandCollapse="False"

NodeStyle-ForeColor="Yellow" HoverNodeStyle-ForeColor="Yellow"

LeafNodeStyle-ForeColor="Yellow" ParentNodeStyle-ForeColor="Yellow"
RootNodeStyle-ForeColor="Yellow"

SelectedNodeStyle-ForeColor="Yellow">



and they still take on the colors of "a"



Do you know how to fix this?



Thanks


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any library that can convert RGB colors to ANSI colors? ZelluX Python 3 12-01-2008 11:08 AM
TreeNode colors come from anchor colors AAaron123 ASP .Net 1 08-07-2008 07:56 PM
xsl variable $node/text() but $node can non-node-set help! Tjerk Wolterink XML 2 08-24-2006 03:28 AM
How to set the node indent property between the parent node and the leaf node viveknatani@gmail.com ASP .Net 0 02-13-2006 07:11 PM
How to drag a sub-node to another node in TreeView? wolf ASP .Net 0 08-18-2004 11:51 PM



Advertisments