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