1 Reply Latest reply on Aug 7, 2009 3:47 AM by Ilya Shaikovsky

    rich:treeNode, defining styles in CSS

    Adi Sharma Newbie

      I am using a rich:tree and want to avoid hard-coding image urls in the xhtml file. Also, I want to use different images for different nodes. This doesn't work:


      .agencynode .rich-tree-node-icon {
      background-image: url(../img/agency.png);

      xhtml file:

      <rich:treeNode nodeClass="agencynode" />

      My CSS is poor, I don't even know if I am doing this right, suggestions?