"how to make one <td> span both columns in a two column table?</t>" Code Answer

2

you should use colspan for your second row. like this :

<table>
    <tr>
        <td style="width:50%">text</td>
        <td style="width:50%">text</td>
    </tr>
    <tr>
        <td colspan="2" style="width:100%">text</td>
    </tr>
    ...
</table>

for learn -> html colspan

By Spanky Quigman on April 8 2022
Only authorized users can answer the Search term. Please sign in first, or register a free account.