"HTML 테이블 틀 고정"의 두 판 사이의 차이

19번째 줄: 19번째 줄:
   height: 30px;
   height: 30px;
}
}
KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK

2019년 12월 8일 (일) 19:26 판

HTML 테이블 틀 고정
HTML 테이블 첫 행 고정

예시

<source lang='html' highlight='8-9'> <style> body { margin:0; } table {

 margin: 32px 0 0;
 border-collapse:collapse;

} thead {

 position: fixed;
 top: 0;
 background: #cdefff;

} th {

 border:1px solid silver;
 height: 30px;

}

KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}