1
I am trying, apply the titles Fat. Credit to the columns Date of Canc. of PV, Channel Hiring Cred. and Flag and Fat. Flex for Agency/Account Dom. Ant., Agency/Account Dom. Current, Start Date of Dom. and Hiring Channel Alt. Dom. and leave the first 3 with nothing, but I’m not getting it right. Below is the HTML code:
<table style='width:80%'>
<tr><td><b> 2) Credenciamento e Domicílio</b></td></tr>
</table>
</center>
<table class='table-custom table table-striped table-hover table-vcenter' style='width:100%'>
<thead>
<tr>
<th style="border: 1px solid black;" colspan="3">Fat. Credito </th>
<th style="border: 1px solid black;" colspan="3">Fat. Flex </th>
</tr>
<th class='text-center' style='background-color: #ff7600; width: 9.00%'>CNPJ14</th>
<th class='text-center' style='background-color: #ff7600; width: 9.00%'>PV</th>
<th class='text-center' style='background-color: #ff7600; width: 11.00%'>Data de Creden.</th>
<th class='text-center' style='background-color: #ff7600; width: 11.00%'>Data de Canc. de PV</th>
<th class='text-center' style='background-color: #ff7600; width: 5.00%'>Canal Contratação Cred.</th>
<th class='text-center' style='background-color: #ff7600; width: 9.00%'>Bandeira</th>
<th class='text-center' style='background-color: #ff7600; width: 9.00%'>Agência/Conta Dom. Ant.</th>
<th class='text-center' style='background-color: #ff7600; width: 9.00%'>Agência/Conta Dom. Atual</th>
<th class='text-center' style='background-color: #ff7600; width: 11.00%'>Data início de Dom.</th>
<th class='text-center' style='background-color: #ff7600; width: 5.00%'>Canal Contratação Alt. Dom.</th>
</thead>
<tbody>
<td align='center' valign='middle' style='border-top: 1px solid #000; line-height: 0.1em; margin: 0px 0 5px; padding-left: 2px; padding-right: 2px;'>
<p>Teste</p>
</td>
</tbody>
</table>
I’m trying to hit the tr’s with colspan, but nothing, has anyone ever done anything like that to give me a hint?
Community hugs!
Try changing the <th> where the colspan is to <td>.
– Sumback
Hello Sumback, thanks for the help, it still didn’t work, I changed the ths of colspan to td and remains the same!
– Leandro Azevedo