So I have too much padding between fields within a PageBlockSection. I have 3 columns, so to reduce the padding between fields I created 4 columns. How can I skip a column to force the next PageBlockSectionItem in a new row.

<apex:pageBlockSection title="Costs" id="CostsSection" columns="4">  
                  <!-- Costs-->
                  <!-- before position-->
                  <apex:pageBlockSectionItem HelpText="{!$ObjectType.Application__c.fields.Rpt_Position_Support_Prior_to_STAR__c.inlineHelpText}">
                        <apex:inputField id="beforePosition" value="{!Application__c.Rpt_Position_Support_Prior_to_STAR__c}" />

How can I force this on a new row and skip a column? Basically, I want Field, Field, Field, SKIP, [new row because only 4 columns], field, field, field, SKIP, etc...

Thanks, Joe


You can insert an empty section item after the third:

<apex:pageBlockSectionItem />
  • it's beautiful in it's simplicity! – tjcinnamon Feb 19 '16 at 16:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.