Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TreeView Formatting 1

Status
Not open for further replies.

jbutton

Programmer
Jul 20, 2006
8
US
Hello!

I have a TreeView populated via database. One of the nodes is populated with information from two columns and I need a good clean way of aligning the information from the second column and spacing it away from the first for readability and prettiness. Note that the text from the first column is of varying lengths which makes it more difficult to align the other information.

I am open to any ideas.

Thank you in advance!

jbutton
 
You can use a Literal control, add it to the relevant Node and then align it however you want by using CSS


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Does anyone have an example of how something like that might be accomplished? I am familiar with style sheets but do not know how how to work with inline CSS.
 
You don't have to use inline CSS. Add the literal control with the relevant text and style it via a style sheet as you normally do.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top