locked
CSS friendly control adapter - treeview issue RRS feed

  • Question

  • User-963413621 posted

    Hi All,

                        I am using a css file to control the look and feel of the treeview. The issue is the connecting lines are not showing up between nodes. Can some body point out what change needs to be done to my css.

     

    The css content is as below:

     

    .SimpleEntertainmentTreeView div.AspNet-TreeView ul li

    {

    white-space: nowrap;

    padding: 1px 0 1px 0;

    font-size:inherit;

     

    }

    .SimpleEntertainmentTreeView div.AspNet-TreeView ul ul

    {

    margin: 2px 0 2px 10px;

    }

    .SimpleEntertainmentTreeView div.AspNet-TreeView ul li img

    {

    border: none;

    vertical-align: middle;

    margin: 0 1px 0 0;

    }

    .SimpleEntertainmentTreeView div.AspNet-TreeView li a

    {

    text-decoration: none;

    }

    .SimpleEntertainmentTreeView div.AspNet-TreeView li.AspNet-TreeView-Leaf

    {

    margin-left: 1px;

    }

    .SimpleEntertainmentTreeView div.AspNet-TreeView .AspNet-TreeView-ClickableNonlink

    {

    cursor: pointer;

    }

    .SimpleEntertainmentTreeView div.AspNet-TreeView .AspNet-TreeView-Collapse

    {

    background: url(collapse.gif) 0 -2px no-repeat;

    width: 15px;

    float:left;

    cursor: pointer;

    }

    .SimpleEntertainmentTreeView div.AspNet-TreeView .AspNet-TreeView-Expand

    {

    background: url(expand.gif) 0 -2px no-repeat;

    width: 15px;

    float:left;

    cursor: pointer;

    }

    .SimpleEntertainmentTreeView .AspNet-TreeView-Selected

    {

    background-color: #FAFAD2 !important;

    }

    .SimpleEntertainmentTreeView .AspNet-TreeView-ChildSelected

    {

    background-color: #F5FFFA !important;

    }

    .SimpleEntertainmentTreeView .AspNet-TreeView-ParentSelected

    {

    background-color: #FFE4E1 !important;

    }

    Thanks

    Mayu

    Wednesday, July 23, 2008 6:26 AM

All replies

  • User-76697490 posted

    There's nothing in your CSS to provide the images necessary to display lines.  You'll need to add appropriate images.

    Monday, May 18, 2009 12:10 PM