Skip to main content
Tweeted twitter.com/StackSalesforce/status/989132051176706048
edited tags
Link
sfdc
  • 13.8k
  • 19
  • 137
  • 219
Source Link
sfdc
  • 13.8k
  • 19
  • 137
  • 219

PageBlockSection with 4 columns

I have a pageblocksection with 4 columns where the spacing between 3rd and 4th is not equal.How to fix the spacing between columns.

<apex:page standardController="Account"> <apex:form > <apex:pageBlock title="My Block"> <apex:pageBlockSection title="My Section" columns="4" collapsible="false"> <apex:outputField value="{!Account.Field1__c}"/> <apex:outputField value="{!Account.Field2__c}"/> <apex:outputField value="{!Account.Field3__c}"/> <apex:outputField value="{!Account.Field4__c}"/> <apex:outputField value="{!Account.Field5__c}"/> <apex:outputField value="{!Account.Field6__c}"/> <apex:outputField value="{!Account.Field7__c}"/> <apex:outputField value="{!Account.Field8__c}"/> </apex:pageBlockSection> </apex:pageBlock> </apex:form> 

</apex:page>