You need to sign in to do that
Don't have an account?
David Zhu
How to center apex:outputpanel in a cell?
I have difficulty to center outputpanel component in a cell. It keeps left alighed. Please advise.
<tr> <td id = "tcen" colspan="3"> <apex:outputPanel layout="block" id ="p1"> <apex:datatable value="{!ZeroSaleProducts}" var="sales" columns="1" rendered="{!(DateSelectionError = false)}"> <apex:column > <hr/><apex:outputtext value="{!sales.name}" styleClass="productTextStyle"/> </apex:column> </apex:datatable> </apex:outputPanel> </td> </tr>