table 내 th 간격 맞추는 방법 채택완료

1889326059_1715131484.8467.png

 

안녕하세요

테이블에서 각 셀의 너비를 맞추려고하는데 Widest Thread Diameter.. 저 부분만 colgroup으로 조정이 되고 그 밑에 두 th는 뭔 짓을 해도 width 조정이 안됩니다 ㅠㅠ 어떻게 저 둘 간격을 수정할 수 있을까요?
 

Copy
<table>
    <colgroup>
      <col style="width:20%">
      <col style="width:15%">
      <col style="width:15%">
      <col style="width:30%">
    </colgroup>
    <thead>
      <tr>
        <th rowspan="2">
          (Core) Implant Diameter
        </th>
        <th rowspan="2">Thread</th>
        <th rowspan="2">Cuff</th>
        <th rowspan="2">Length</th>
        <th colspan="2">Widest Thread Diameter</th>
      </tr>
      <tr>
        <th>Diameter</th>
        <th>Deep</th>
      </tr>
    </thead>

 </table>

답변 1개

채택된 답변
+20 포인트

    <colgroup>
      <col style="width:20%">
      <col style="width:15%">
      <col style="width:15%">
      <col style="width:30%">
      <col style="width:10%">
      <col style="width:10%">
    </colgroup>

이렇게 6칸으로 입력을 하셔야 합니다.

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인
🐛 버그신고