Prop Style Columnwidth
# Style columnWidth Property
[ Style Object](#)
## Example
Change the width of a column:
document.getElementById("myDIV").style.columnWidth="100px";
[Try it Β»](#)
* * *
## Definition and Usage
The columnWidth property specifies the width of the columns.
* * *
## Browser Support

Internet Explorer 10 and Opera support the columnWidth property.
Firefox supports an alternative property for this, the MozColumnWidth property.
Safari and Chrome support an alternative property for this, the WebkitColumnWidth property.
* * *
## Syntax
Get the columnWidth property:
_object_.style.columnWidth
Set the columnWidth property:
_object_.style.columnWidth="auto|_length_|initial|inherit"
## Property Values
| Value | Description |
| --- | --- |
| auto | Default value. The width of the columns is 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_. |
## Technical Details
| Default Value: | auto |
| --- |
| Return Value: | A string, representing the column-width property of an element. |
| CSS Version | CSS3 |
* * *
## Related Articles
CSS3 Tutorial: (#)
CSS Reference: (#)
* * Style Object](#)
YouTip