Use <t:column style="text-align: center"> inside your <t:dataTable>.
- Brendan -----Original Message----- From: Nicola Benaglia [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 8:51 AM To: [email protected] Subject: <td align="center">.... how ? Hi !!! How can I center the content of a sigle table cell ? In html I write this: <td align="center"> In JSF (myfaces1.0.9) I haven't found such an attribute for a single cell but only for table and I worked around by creating another panelgrid tag. <h:panelGrid columns="2" align="center"> ---> align attribute exists <h:outputText value="..." /> ---> why align attribute doesn't exist ? <h:outputText value="..." /> </h:panelGrid> But it seems to me a very bad solution to create a new table for each centered-text cell. Is there a smarter solution? Thank U Nico --- Questa mail ed eventuali suoi allegati sono strettamente confidenziali. Se ricevete per errore questa mail, Vi preghiamo cortesemente di cancellarla immediatamente e di segnalare l'errore a chi ve l'ha spedita. Se Voi non siete il reale destinatario di questa mail non siete autorizzati alla copia, alla distribuzione e alla stampa di essa ne tantomeno ad una eventuale modifica dei contenuti. This message and any attachments are confidential and intended solely for the addressees. If you receive this message in error, please delete it and immediately notify the sender. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized use, copying, publication, printing or dissemination is prohibited. E-mails are susceptible to alteration.

