Excellent. Thank you for the quick response. -----Original Message----- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 11:36 AM To: MyFaces Discussion Subject: Re: datatable headerClass
<t:column has a headerstyle & headerstyleClass [1] [1] http://myfaces.apache.org/tomahawk/tagreference.html#column On 12/14/06, Julian Ray <[EMAIL PROTECTED]> wrote: > > > Ok, so its time I addressed this issue: > > datatable provides a single headerClass attribute which is applied to > all <th> elements of the table. Using text-align CSS attributes within > a CSS class allows the table header to align all <th> the same way. > > So, how to align individual table header elements left, center, or right? > Using style or styleClass on the outputText in the header facet > renders a <span> within the <th> which is ignored and the <th> CSS > styling overrides the <span> stylying. Unless I'm missing something, > it seems that all table headers in JSF must align the same way wihtin a table. > > Julian