473,412 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Trre node colors

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
Aug 6 '08 #1
0 854

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Weston C | last post by:
I'm wondering if it's possible to add a method to the Node and/or Element objects (so they'd subsequently be available to any node/element). I'd assume you could just do something like: ...
0
by: Shawn Hogan | last post by:
I'm looking for a control that supports multicolored tree view nodes. I want to have a string of text consisting of 3 pieces displayed in three different colors per node. Imagine how IE displays...
1
by: Richard Trahan | last post by:
I'm a js newbie, and I'm sure I'm missing something; please help me find it. Consider these fragments: function reconstruct_select_node(selectnode,nodearray) { alert("120:...
6
by: Danny Lesandrini | last post by:
I'm using an Access database to drive a web site and the colors of various table backgrounds are stored in Access. I want users of the Access database to be able to select colors for the site, but...
6
by: datamodel | last post by:
Hello I have an XML tree of which you can see a mini-version here: http://paste.uni.cc/11838 (the tree is actually over 30,000 levels deep) How do I count the depth of a given...
0
by: Peter Parker | last post by:
I am using php5 to parse node content from a xml file. Could someone show me if it's possible to to print the content without the !] tags in the following codes ? Thank you in advance .......
4
by: RP | last post by:
I have a TreeView control. When a user clicks on a node, it must change color. I did: TreeView1.SelectedNode.ForeColor = colors.Blue; However, it must change the other nodes color to black,...
4
by: laredotornado | last post by:
Hi, If I have a TD, whose id = "myTd," that only contains text within it,how do extract that text? Thanks, - Dave
9
by: raylopez99 | last post by:
Just an observation: pens for drawing lines in Win Forms are tricky when assignment is inside the paint handler. inside of the Paint handler, but not inside a "using" brace (that is, outside of...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.