How to write the css for a treeview element


C

Cal Who

I have the following Treeview in a table that is in a div element.

It takes some of it's colors from the div element.

I'm not sure where, for example, the hover text color comes from.

I'm not sure how to write the name of the classes in the css file. I've
tried many formats. (like a.MenuRoot)

I've searched and searched the Internet for examples and documentation but
can't find what I need.

Can you yell me how to create the CSS entries?

Thanks

<asp:TreeView ExpandDepth="1" ShowCheckBoxes="None" Width="134px"
ShowExpandCollapse="true"

ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource2"
NodeIndent="5"

HoverNodeStyle-CssClass="MenuHover" LeafNodeStyle-CssClass="MenuLeaf"
NodeStyle-CssClasss="MenuNode"

ParentNodeStyle-CssClass="MenuParent" RootNodeStyle-CssClass="MenuRoot"
SelectedNodeStyle-CssClass="MenuSelected">

</asp:TreeView>
 
Ad

Advertisements


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

Top