+1 vote
by (163k points)

I attempted to center my <apex:commandButton> with <div align="center"> but it places it sort of between the center and the right side instead. Why might this be?

enter image description here

VF Markup snippet

          <!--Submit button-->
      <!--PageBlock starts-->
      <apex:pageBlockButtons location="top">
      <div align="center">
            <apex:commandButton action="{!save}" value="Submit Referral"/>
      <div style="text-align:center">
      <p>By clicking this button, you are agreeing to start the registration process.</p>
    <!--PageBlock ends-->

1 Answer

Welcome to Memory Exceeded, where you can ask questions and receive answers from other members of the community.