Trre node colors

A

AAaron123

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,998
Latest member
MarissaEub

Latest Threads

Top