Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi how can i use image in back of my tree view
and then node text display on it
Posted
Comments
Sergey Alexandrovich Kryukov 18-Aug-13 12:29pm    
Not quite clear. It depends on how the image should be placed, aligned, etc.
Anyway, http://whathaveyoutried.com?
—SA
ridoy 18-Aug-13 12:49pm    
not clear at all.

1 solution

Please see my comment to the question: it depends on how exactly it should look, according to your requirements.

Perhaps the simplest way to achieve it would be CSS with background image: https://developer.mozilla.org/en-US/docs/Web/CSS/background-image[^].

Of course, you should apply a class with background image not to your tree view, but to enclosing block element, such as div or the page.

Be very careful! Using background images can easily make you main content poorly readable. You main goal should be clear readability, functionality, accessibility and good content, not decorations.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900