1 Reply Latest reply on Jun 17, 2008 10:15 AM by Coral Featherstone

    Image on PanelBarItem along with the label

    leelavathic leelavathic Novice

      I need to display an image(>>) on the extreme right of the rich:panelBarItem along with the header label(Search Result).

      Something like this:
      ---------------------------------------------------------------------
      Search Result >>
      ---------------------------------------------------------------------

      I tried two approches
      1. I tried to include the image using in the panelBarItem using a headerClass.

      .searchpanelBarItem{
      background-image:url(/devicemanager/images/up.gif);
      width:100%;
      text-align:center;
      overflow-x:hidden;
      overflow-y:auto;
      font-size:8pt
      background-color: #4169E1;
      }


      2.I tried with pre defined styleclass for panelbar

      . rich-panelbar{
      background-image:url(/common/images/tabs/dn.gif);
      }

      But the image was not displayed in both the above cases.

      Can anyone suggest me a solution.

      Thanks in advance.