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
jadenjaden 

page table not appearing at top of page

Hi,

 

I have a page that I have created but when I load it the table\pageblocks are appearing in the middle with lots of white space above it rather then at top.  

 

Here is the page code: 

<apex:page controller="SuggestOwner">
<apex:pageMessages />
    <apex:form >
         <div style="float:left">
         <TABLE BORDER="0" CELLPADDING="2" CELLSPACING="2" WIDTH="100%">
        <TR> 
         <TD>            
            <apex:iframe scrolling="false" id="accIframe" width="60%">
                <apex:pageBlock title="ThomasNet - Account">
                    <apex:pageBlockButtons >
                        <apex:commandButton action="{!Accept}" value="Accept"/>
                    </apex:pageBlockButtons>
                    <apex:pageBlockSection columns="1" collapsible="false" title="Account" showHeader="true">                   
                            <apex:outputField value="{!acctfields.Name}" />
                            <apex:outputField value="{!acctfields.BillingStreet}" />
                <apex:pageBlockSectionItem >
                    <apex:outputLabel value="Billing City State Zip" />
                    <apex:outputLabel value="{!CityStZip}" />
                </apex:pageBlockSectionItem>
                            <apex:outputField value="{!acctfields.BillingCountry}" />
                </apex:pageBlockSection> 
            </apex:pageBlock>
            </apex:iframe>
            </TD>
         <TD>
            <apex:iframe scrolling="false" id="ownIframe" width="40%">
                <apex:pageBlock title="Suggested Owner">
                    <apex:pageBlockButtons >
                        <apex:commandButton action="{!Cancel}" value="Cancel"/>
                    </apex:pageBlockButtons>
                        <apex:pageBlockSection columns="1" collapsible="false" title="Suggested Owner" showHeader="true">                   
                            <apex:outputLabel value=" " />

                                <apex:outputLabel value="{!SuggestedOwnerName}" />
                    </apex:pageBlockSection> 
            </apex:pageBlock>
            </apex:iframe>
            </TD>
   </TR>
    </TABLE>            
        </div>
</apex:form> 
</apex:page

 

Thank you in advance for any assistance.

Best Answer chosen by Admin (Salesforce Developers) 
jadenjaden

Should have been closed sooner, made changes to the pageblocks to get things to display correctly.