I have a data table with some check boxes in it. I would like to have those checkboxes to be centered within their cells and can't get it to work. I've tried text-align: center and columnClasses with no luck. Can checkboxes even be centered? My code is as follows:
<h
ataTable value="#{List.newList}" headerClass="tableHeader" var="person">
<h:column>
<f:facet name="header">
<h
utputText value="Name"/>
</f:facet>
<h
utputText value="#{person.Name}"/>
</h:column>
<h:column>
<f:facet name="header">
<h
utputText value="Processed"/>
</f:facet>
<h:selectBooleanCheckbox value="#{person.processed}" style="text-align: center"/>
</h:column>
</h
ataTable>