스타일 columnWidth 속성
예시
열 너비 변경:
document.getElementById("myDIV").style.columnWidth = "100px";
정의 및 사용
columnWidth 속성은 열의 너비를 지정합니다.
브라우저 지원
Property | |||||
---|---|---|---|---|---|
columnWidth | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
통사론
columnWidth 속성을 반환합니다.
object.style.columnWidth
columnWidth 속성을 설정합니다.
object.style.columnWidth = "auto|length|initial|inherit"
속성 값
Value | Description |
---|---|
auto | Deafult value. The column width will be determined by the browser |
length | A length that specifies the width of the columns |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
기술적 세부 사항
기본값: | 자동 |
---|---|
반환 값: | 요소의 열 너비 속성을 나타내는 문자열 |
CSS 버전 | CSS3 |
관련 페이지
CSS3 튜토리얼: CSS3 다중 열
CSS 참조: 열 너비 속성
❮ 스타일 개체