I'm setting up this table, but the fields that will compose the table are dynamic, and their sizes vary, does anyone have any idea how I can make the tables standardized? Also, the bottom element is overlapping my table... I'm using
for now to solve this, but if anyone has another suggestion I'd appreciate it
CSS:
.TableTam3{
font-size: 10pt;
text-align: left;
width:30%;
float:left;
border: 1px solid;
display: block;
margin-left: auto;}
VFP:
<apex:page showHeader="false" sidebar="false" controller="DadosNotaPromissoriaController" standardStylesheets="false" applyHtmlTag="false" applyBodyTag="false" renderAs="pdf">
<apex:repeat value="{!Avalist}" var="item" rendered="true" >
<table class="TableTam3" >
<tbody>
<tr>
<td>AVALISTA:</td>
</tr>
<tr>
<td>{!item.contact.Name}</td>
</tr>
<tr>
<td>{!item.contact.CPF__c}</td>
</tr>
<tr>
<td>END.:{!item.contact.MailingStreet},CEP: {!item.contact.MailingPostalCode},{!item.contact.MailingCity}-{!item.contact.MailingState}</td>
</tr>
<apex:outputText rendered="{!display[item.Id]}">
<tr><td>Ass: {!item.contact.Procurador_do_Contato__r.Name}</td></tr>
<tr><td>CPF: {!item.contact.Procurador_do_Contato__r.CPF__c}</td></tr>
</apex:outputText>
</tbody>
</table>
</apex:repeat>