• Shah Pooja
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
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