+ Start a Discussion

Visualforce background on a detail page

I am trying to place a dataTable within a section on a standard Opportunity detail page.  I can get the table to appear, but there is a large white space underneath the table which I cannot get rid of.  Can anyone offer advice on how to best embed a table in this manner and keep as much of the standard formatting as possible?


Here is the code I am using:


<apex:page standardController="Opportunity" extensions="BillingExtension">
    <apex:form >
         <apex:dataTable id="CurrentBillTo" value="{!Bills}" var="bill" bgcolor="#F3F3EC" width="50%" columns="3">
             <apex:column value="{!bill.Bill_To_Account__c}" style="text-align: left;vertical-align:middle;">
                 <apex:facet name="header">Bill To Account</apex:facet>
            <apex:column value="{!bill.Bill_To_Contact__c}" style="text-align: left;vertical-align:middle;">
                <apex:facet name="header">Bill To Contact</apex:facet>
            <apex:column value="{!bill.Billed__c}" style="text-align: left;vertical-align:middle;">
                <apex:facet name="header">% Billed</apex:facet>
         <apex:commandButton value="Add New"/>