как удвоить colspan в заголовке таблицы - PullRequest
0 голосов
/ 22 апреля 2020
|       |_______________ number_____________________|      |             |
| month |    one    |    two    |     three         | All  | category 1  | Category 2
|       |           |           | numb1 |   numb2   |      |             |

Я хочу создать такой заголовок таблицы. я не могу создать столбец numb1 и numb2 в столбце три

вот мой код:

    <thead>
      <col span="3"></col>
              <tr>
                <th rowspan="2"><center>Month</center></th>
                <th rowspan="2"><center>one</center></th>
                <th colspan="3"><center>number</center></th>
                <th rowspan="2"><center>All</center></th>
                <th rowspan="2"><center>Category 1</center></th>
                <th rowspan="2"><center>Category 2</center></th>
              </tr>
                  <tr>
                    <th ><center>one</center></th>
                    <th><center>two </center></th>
                    <th><center>three</center></th>
                  </tr>

         </thead>

как, если я хочу создать colspan "numb1" и "numb2" под столбцом "три" "Кто-нибудь может помочь?

...