2 Replies Latest reply on Jan 30, 2009 7:32 AM by Ralph Soika

    rich:comboBox width style

    Ralph Soika Apprentice

      Hi,

      I have a problem with the rich:comboBox style.
      I used a general style sheet in my application which defines a width for input fields:

      input[type="text"],input[type="password"],textarea {
       width: 20em;
       border-color: silver;
      }


      Everything looks fine. But if I place a rich:comboBox the style is corrupted. It seems that the rich:comboBox component is unable to compute the with of this element. The right side button for the drop down menu seems to be 20em in width. The input field itself is not displayed.

      I tried a lot but can not figure out how to bring the rich:combo element to a normal style.
      If I remove my css definition as shown above the element works fine.

      Is it a problem to define a general width to all input fields using richFaces?

      Thanks for any hints

      Ralph