styles in datatable
hi,
i have a datatable with some rows and columns.
i would like to center the text in my columns:
<h:column>
<f:facet name="header">
<h:outputText value="#{myMsg.myMsg1}" style="text-align: center"/>
</f:facet>
<h:outputText value="#{myMsg.myMsg2}" style="text-align: center"/>
</h:column>
unfortunately only myMsg1 is centered, the other one not.
why?

