2 Replies Latest reply on Dec 7, 2009 1:06 PM by Edilmar Alves

    How to center a rich:column?

    Edilmar Alves Expert

      Hi,

      I have RichFaces 3.3.2.
      Then, I created a dataTable with many columns.
      I would like to center some columns.
      I tried to apply a CSS style but it didn't work.
      And I didn't find some property at livedemo or PDF manual.

      My rich:column is like this:

       <rich:column width="700px" id="msgRet">
       <f:facet name="header"><h:outputText styleClass="headerText" value="Mensagem Retorno" /></f:facet>
       <h:outputText value="#{spool.msgRet}" style="text-align:center;" />
       </rich:column>