나는 간단한 테이블을 만들려고하지만 연속 테이블 행에 colspans
을 설정하면, 두 번째 행의 colspan
속성이 무시됩니다중첩 열 병합
<table class="d-week">
<caption>
<h4>table</h4>
</caption>
<thead>
<tr>
<th class="col_first"></th>
<th colspan="1">1st week</th>
<th colspan="1">2nd week</th>
<th colspan="1">3rd week</th>
</tr>
<tr>
<th></th>
<th colspan="3">prop1</th>
<th colspan="3">prop2</th>
<th colspan="3">prop3</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td>col1</td>
<td>col1</td>
<td>col1</td>
<td>col2</td>
<td>col2</td>
<td>col2</td>
<td>col3</td>
<td>col3</td>
<td>col3</td>
</tr>
</tbody>
</table>
그러나 여기, 테이블 신체 세포가 두 번째 머리글 대신 첫 번째 행의 머리글에 맞 춥니 다 (첫 번째 머리글 행에서 colspan
속성을 제거하더라도). 누군가 나를 도울 수 있습니까?
EDIT : 두 번째 헤더의 행에 3 개 이상인 경우 th
? 여기 http://jsbin.com/icetom/3
Cal 또한 간단한 예를 들어 보겠습니다. – Nivas