function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shah PoojaShah Pooja 

pageblocksection -- space between columns

In the pageBlocksection, in the detail mode, there is a line that comes between rows. I want it to break before the next column starts. I want to mimic the look and feel when you click on the account name in the account tab.
So that o/p comes out like

required o/p
Name                                           Surname
______________________       __________________________________
Pooja                                           Shah
______________________        ___________________________________


What i am getting with the following code is
Name                                         Surname
______________________________________________________________-
Pooja                                         Shah
______________________________________________________________

<apex:page standardController="Account">
        <apex:form >
            <apex:pageBlock title="My Content">
                  <apex:pageBlockButtons >
                        <apex:commandButton action="{!save}" value="Save"/>
                  </apex:pageBlockButtons>
                  <apex:pageBlockSection title="My Content Section" columns="2">
                        <apex:outputlabel value="Pooja"/>
                        <apex:outputlabel value="Shah"/>
                        <apex:outputlabel value="Pooja"/>
                        <apex:outputlabel value="Shah"/>
                  </apex:pageBlockSection>
            </apex:pageBlock>
      </apex:form>
</apex:page>


Thanks in advance,
Pooja
yogesh.rankawatyogesh.rankawat
Use <apex:pageBlockSectionItem></apex:pageBlockSectionItem> it may be helpful.
:smileyhappy: