table 내 th 간격 맞추는 방법

table 내 th 간격 맞추는 방법

QA

table 내 th 간격 맞추는 방법

본문

1889326059_1715131484.8467.png

 

안녕하세요

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


 <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

    <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칸으로 입력을 하셔야 합니다.

답변을 작성하시기 전에 로그인 해주세요.
전체 6
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT