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
Michael Hedrick 2Michael Hedrick 2 

white spaces after page blocks

Hello,
I ahve 2 questions regarding my VFpage:
  1. why there are white spaces after the page blocks in my VF page.
  2. How can I increase the width where the label value
Thanks
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> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <apex:commandButton action="{!cancel}" value="Cancel"></apex:commandButton>
          
            </div>
                
              </apex:pageBlock>           
                       
        </apex:form>
</apex:page>