Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- datatables.js
- 셀렉트박스
- nextSibling
- DataTable
- jquery mobile
- 테이블
- 한영변환
- FRONT-END
- 제이쿼리모바일
- 더블마진
- Scripting.FileSystemObject
- CSS
- 제이쿼리
- 하이브리드앱
- 사파리
- UI개발
- 헤더고정
- Object
- entity
- JQM
- Front end 개발
- 이미지
- 크롬
- ime-mode
- 퍼블리셔
- 레이어
- publisher
- HTML
- rowspan
- ie6버그
Archives
- Today
- Total
느리게 걷기
크롬 사파리에서 col 안먹음 본문
아래와 같은 테이블 구조가 있을 때, 구글크롬과 사파리에서만 col 값이 안먹는다.
tr.thArea 부분의 위 행에 colspan 시킨 행이 존재 할때 tr.thArea의 td 및 th 에 col with 값이 제대로 안먹는다.
원인은 caption 을 가리기 위해 visibility:hidden 또는 position:absolute 또는 text-indent 속성을 주었기 때문.
해결방법은 display:none을 주면 된다.
<table>
<caption></caption>
<col width="11%" />
<col width="auto" />
<col width="9%" />
<col width="9%" />
<col width="8%" />
<col width="5%" />
<thead>
<tr>
<th colspan="6"></th>
</tr>
<tr class="thArea">
<th></th>
<td></td>
<th></th>
<td></td>
<th></th>
<td></td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="6"></td>
</tr>
</tbody>
</table>
tr.thArea 부분의 위 행에 colspan 시킨 행이 존재 할때 tr.thArea의 td 및 th 에 col with 값이 제대로 안먹는다.
원인은 caption 을 가리기 위해 visibility:hidden 또는 position:absolute 또는 text-indent 속성을 주었기 때문.
해결방법은 display:none을 주면 된다.
<table>
<caption></caption>
<col width="11%" />
<col width="auto" />
<col width="9%" />
<col width="9%" />
<col width="8%" />
<col width="5%" />
<thead>
<tr>
<th colspan="6"></th>
</tr>
<tr class="thArea">
<th></th>
<td></td>
<th></th>
<td></td>
<th></th>
<td></td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="6"></td>
</tr>
</tbody>
</table>
'CSS2/3' 카테고리의 다른 글
[IE9] 테이블셀 안에서 box-shadow 랜더링 안되는 문제 (0) | 2012.05.17 |
---|---|
ime-mode : 한영변환설정 (0) | 2012.05.07 |
@media queries (0) | 2011.05.25 |
ie6에서 PNG 사용하기 (0) | 2011.03.04 |
vertical-align:baseline (0) | 2011.03.04 |
Comments