styling nodes without childnodes

2 posts, 1 answers
  1. Spire
    Spire avatar
    8 posts
    Member since:
    Jan 2010

    Posted 04 Oct 2010 Link to this post

    Hi,

    I'm having trouble getting nodes without childnodes to be on line with nodes with childnodes.

    Look at the "Paintballs" in the treeview on this page:
    http://dev6.spireweb.no

    My CSS:
    .RadTreeView {font-weight:bold !important; color:#000 !important; font-family:tahoma !important;}
    .RadTreeView .rtPlus  {background-image: none !important; height: 18px !important; width: 0px !important; }
    .RadTreeView .rtPlus:hover { background-image: none !important; height: 18px !important; width: 0px !important; }
    .RadTreeView .rtMinus {background-image: none !important; height: 18px !important; width: 0px !important;}
    .RadTreeView .rtMinus:hover {background-image: none !important; height: 18px !important; width: 0px !important;}
    .RadTreeView .rtPlus, .RadTreeView .rtMinus {background-position:0 0 !important;}
     
    .RadTreeView .rtIn {font-weight:bold !important; height:18px !important; color:#000 !important; font-family:tahoma !important; background-image:none !important; background-color:#fff !important; margin-left:0px !important; padding-left:5px !important; padding-right:0px !important; width:165px !important; border:solid 0px red !important; display:inline-block !important; }
    .RadTreeView .rtIn:hover { text-decoration:none !important; padding-top:4px !important; height:19px !important; border:solid 0px blue !important; background-image:none !important; color:#30788e !important; }
    .RadTreeView ul li ul li .rtIn {width:154px !important; font-weight:normal; }
     
    .RadTreeView .rtLI {padding-bottom: 0px !important;}
    .RadTreeView .rtUL .rtUL {margin-top: 0px !important;}
    .RadTreeView .rtLast {padding-bottom: 0 !important; /* prevent double-spacing */}
    .RadTreeView .active {background-color:#e1e1e1 !important; }

    Could anyone help me please?
  2. Answer
    Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 05 Oct 2010 Link to this post

    Hi Spire,

    Add these two rules to your CSS to fix it:

    Greetings,
    Kamen Bundev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top