2 Replies Latest reply on Mar 19, 2008 6:27 PM by Sergey Smirnov

    Problems with styles

    Anonymous User Newbie

      Hi, I have a very simple problem to apply a css style in my richfaces, I follow the example but it doen't work. Please could you help me ?

      I put my example:


      World Web Demo Application

      .body1 {
      background: #FFFFFF;
      }



      <f:view contentType="text/html">
      <rich:panel bodyClass="body1" >
      <h:graphicImage id="logo" value="/img/logo.gif" style="vertical-align:middle" ></h:graphicImage> World Web Example
      </rich:panel>

      <rich:spacer width="1" height="10"/>


      In this example the css-class body1 is not aplied to the rich:panel.

      Any hint ?

      Thanks,