You need to sign in to do that
Don't have an account?

white spaces after page blocks
Hello,
I ahve 2 questions regarding my VFpage:
M
I ahve 2 questions regarding my VFpage:
- why there are white spaces after the page blocks in my VF page.
- How can I increase the width where the label value
M
<apex:page standardController="Account" extensions="SourcingAuditAccountController" standardStylesheets="true" showQuickActionVfHeader="false" showheader="false"> <apex:form id="inpform" > <style type="text/css"> .bPageBlock .pbTitle { width: 100%; font-size:20px; text-align: center; } </style> <apex:pageBlock title="Sourcing Audit"></apex:pageBlock> <apex:pageMessages ></apex:pageMessages> <apex:pageBlock > <div style="display: none;"> <apex:inputField value="{!SourcingAudit.Account__c}" /> ['Name'='Sourcing Audit for {!Account.Name} on system.today().format())' ], true)}"> </div> <apex:pageBlockSection columns="1" > <label style="display:block;margin-top:10px;margin-left:1px;" for="Contact__c"></label> <apex:inputField style="margin-left:10px;" id="Contact__c" value="{!SourcingAudit.Contact__c}" required="true"/> <apex:outputLabel /> <apex:selectRadio required="true" value="{!SourcingAudit.Quality_Bale_Issue__c}" > <apex:selectOption itemValue="Yes" itemlabel="Yes"/> <apex:selectOption itemValue="No" itemlabel="No"/> </apex:selectRadio> <apex:outputLabel /> <apex:selectRadio style="margin-left:1px;display:block;width:250px;" required="true" value="{!SourcingAudit.Bales_Inspected__c}" > <apex:selectOption itemValue="Yes" itemlabel="Yes"/> <apex:selectOption itemValue="No" itemlabel="No"/> </apex:selectRadio> <apex:outputLabel /> <apex:selectRadio required="true" value="{!SourcingAudit.Volume_Reviewed__c}" > <apex:selectOption itemValue="Yes" itemlabel="Yes"/> <apex:selectOption itemValue="No" itemlabel="No"/> </apex:selectRadio> <apex:outputLabel /> <apex:selectRadio required="true" value="{!SourcingAudit.Weight_Issues__c}" > <apex:selectOption itemValue="Yes" itemlabel="Yes"/> <apex:selectOption itemValue="No" itemlabel="No"/> </apex:selectRadio> <apex:outputLabel /> <apex:selectRadio required="true" value="{!SourcingAudit.Admin_review__c}" > <apex:selectOption itemValue="Yes" itemlabel="Yes"/> <apex:selectOption itemValue="No" itemlabel="No"/> </apex:selectRadio> <apex:outputLabel /> <apex:selectRadio required="true" value="{!SourcingAudit.Referral__c}" > <apex:selectOption itemValue="Yes" itemlabel="Yes"/> <apex:selectOption itemValue="No" itemlabel="No"/> </apex:selectRadio> <apex:outputLabel style="margin-left:1px;"/> <apex:inputTextarea style="margin-left:1px;" id="Audit_Comment__c" rows="3" cols="30" value="{!SourcingAudit.Audit_Comment__c}" /> <br></br> </apex:pageBlockSection> <div style="margin-right:20%;" align="center" draggable="false" > <apex:commandButton action="{!save}" value="Save"></apex:commandButton> <apex:commandButton action="{!cancel}" value="Cancel"></apex:commandButton> </div> </apex:pageBlock> </apex:form> </apex:page>