2019-11-05, 07:53 AM
Why put colspan=5 when it appears that colspan=2 is the correct choice.
The table inside of a table causes a formatting issue.
Try this HTML to improve.
The table inside of a table causes a formatting issue.
Try this HTML to improve.
<div class="modal">
<div style="overflow-y: auto; max-height: 400px;" class="referral_modal_{$uid}">
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->referrals}</strong></td>
</tr>
<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
<td style="text-align: right;" class="tcat"><span class="smalltext"><strong>{$lang->referral_date}</strong></span></td>
</tr>
{$referral_rows}
</table>
</div>
</div>