html 스크롤 헤더 테이블 고정 채택완료
갈팡지팡
10년 전
조회 19,435
<div class="co_wrapper" style="overflow: auto; overflow-x:hidden; width: 740px; height: 550px;">
<table id="list-table" class="table_wrap"> <colgroup> <col width="75px"/> <col width="65px"/> <col width="65px"/> <col width="*"/> <col width="153px"/> colgroup> <thead> <tr> <th>Noth> <th>Type_Ath> <th>Type_Bth>
<th>Type_Cth>
<th>Type_Dth>
tr> thead> <tbody > tbody> table>
div>
스크롤 내릴때 헤더 부분을 고정 시키고 싶습니다.
div이를 나눠야 될거 같은데.. 어떻게 해야하죠..?
고정시키고 싶은 부분은
<th>Noth>
<th>Type_Ath> <th>Type_Bth>
<th>Type_Cth>
<th>Type_Dth>
이 구문입니다!
고수님들 부탁드립니다!
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
채택된 답변
+20 포인트
10년 전
테이블의 헤더나 푸터를 고정하는 JQuery입니다.
http://www.fixedheadertable.com/">http://www.fixedheadertable.com/
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인