Style columnWidth Attribute
- Ngauna na Pahina columnSpan
- Susunod na Pahina counterIncrement
- Bumalik sa Ngauna HTML DOM Style Object
Definition and Usage
columnWidth
Specifies the width of the column.
See Also:
CSS3 Tutorial:CSS Maraming Sulok
CSS Reference Manual:column-width Atribute
Example
Change Column Width:
document.getElementById("myDIV").style.columnWidth = "100px";
Syntax
Return columnWidth Attribute:
object.style.columnWidth
Set columnWidth Attribute:
object.style.columnWidth = "auto|length|initial|inherit"
Attribute Value
Value | Description |
---|---|
auto | Default Value. The column width will be determined by the browser. |
length | Specifies the length value for the column width. |
initial | Sets this attribute to its default value. See initial. |
inherit | Inherits this attribute from its parent element. See inherit. |
Technical Details
Default Value: | auto |
---|---|
Return Value: | A string that represents the element's column-width Atribute. |
CSS Version: | CSS3 |
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
- Ngauna na Pahina columnSpan
- Susunod na Pahina counterIncrement
- Bumalik sa Ngauna HTML DOM Style Object