How can I achieve this kind of table:

Inside the Schedule column, there are sub columns (Jan, Feb and so on).
I tried <th></th> inside a <th></th>
But it is not working.
See my fiddle: http://jsfiddle.net/TAJzY/1/
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
colspan=""androwspan="":colspan="12"on the "Schedule/Milestone of Activities" cell.<tr>row.rowspan="2"on the "Estimated Budget" cell.<th>cell from the<tr>below.<thead>,<tbody>, and optional<tfoot>sections.thead { position: sticky; }for Excel-style "frozen" rows which are otherwise very difficult – or just tedious – to implement otherwise.Step 1:
First, make a table, without any splitting/merging of cells, so you have something like this (click the "Run code snippet" button below to see the table):
Step 2:
Then make the "Schedule/Milestone of Activities" cell span all 12 remaining columns (of the 13 total) with
colspan="12"– which also means removing the empty trailing<th></th>elements in the same<tr>as those are now represented by the<th colspan="12">cell:Step 3:
To make the "Estimated Budget" cell span those 2 rows in
<thead>addrowspan="2"and also remove the empty initial<th></th>in the second<tr>(as that empty<th>cell’s "slot" is now taken by the<th rowspan="2">from the previous row).Like so: