0 Replies Latest reply on Mar 25, 2008 11:24 AM by Daniel Hoermann

    problem customizing <rich:dropdownmenu> css-style

    Daniel Hoermann Newbie

      hello,

      i'm using the newest version of richfaces with jboss-4.2.2.
      in my own css-file i've modified the .rich-ddmenu-label-select and the .rich-ddmenu-label-unselect style.

      if the first menu-item "File" (see jsp-code) isn't selected it's not shown on the screen. only if the item is selected it's shown.

      everything works fine in firefox 2.0 but not in ie6.


      CSS-File

      
      .rich-ddmenu-label-select {
       border-color: #82B414;
       background-color: #82B414;
       color: #FFFFFF;
      }
      
      .rich-ddmenu-label-unselect {
       border-color: #82B414;
       background-color: #82B414;
       color: #004B2D;
      }
      
      



      JSP
      
      <rich:dropDownMenu value="File">
      
       <rich:menuItem value="New" action="">
      
       </rich:menuItem>
      
       <rich:menuItem value="Open" action="" />
      
       <rich:menuGroup value="Save As...">
      
       <rich:menuItem value="Text File" action="" />
      
       <rich:menuItem value="PDF File" action="" />
      
       </rich:menuGroup>
      
       <rich:menuItem value="Close" action="" />
      
       <rich:menuSeparator id="menuSeparator11" />
      
       <rich:menuItem value="Exit" action="" />
      
      </rich:dropDownMenu>
      
      






      can anybody help me or are there any known problems?

      thanks for your answers...

      gaess