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
joemurjoemur 

problem with apex repeat causing new row

I use currency formatting within a table e.g.,                            
    <td style="width:170px"> 
        <apex:outputText value="${0, number, ###,###,##0.00}">
            <apex:param value="{!Margin}" />
        </apex:outputText>
     </td>
and works fine but when I do the same thing within a repeat the output shows in the next row
<apex:pageBlockSection columns="1"  >
                <apex:repeat id="vRepeat" value="{!SelectedVendors}"  var="vWrapped" >
                    <table border="1" width="100%">
                        <tr >
                            <td style="font-weight:bold;width:170px">
                                INVOICE AMT:
                            </td>
                            <td colspan="5" style="font-weight:normal;width:170px">
                                <apex:outputText value="${0, number, ###,###,##0.00}">
                                    <apex:param value="{!vWrapped.Amount__c}" />
                                </apex:outputText>
                            </td>
                        </tr>
and I do not understand why.   Any ideas how i can fix this?
User-added image
joemurjoemur
Figured out that changing from Apex:pageblock to <apex:panelGroup fixed my problem