0

I have a table

<table>
       <tr>
           <td class="tableheading">Heading 1</td>
       </tr>
       <tr>
           <td>Text 1</td>
           <td>Text 2</td>
       </tr>
       <tr>
           <td class="tableheading">Heading 2</td>
       </tr>
       <tr>
           <td>Text 3</td>
           <td>Text 4</td>
       </tr>
</table>

and I want the

<td class="tableheading"> 

to fill up the same space as the two td's below.

How would I achieve this?

mxstbr
  • 11,087
  • 4
  • 39
  • 37

1 Answers1

2

use colspan="2"

<td class="tableheading" colspan="2"> 
Sajad Karuthedath
  • 14,987
  • 4
  • 32
  • 49