Specifies the width of columns in multi-column elements.
Overview tableauto
columnWidth
column-width: auto
column-width: length
(cm
, mm
, in
, pt
, or pc
) or a relative units designator (rem
, em
, ex
, or px
), that indicates the optimal width. For more information about the supported length units, see CSS Length Units Reference.
Makes as many columns that are 100px as there is space in the browser.
#column {
column-width: 100px;
}
Notes Remarks
The actual column width may vary from the value specified due to available space. To ensure that the exact value specified for this property is used, all property values of the multi-column element that pertain to length (such as width, column-width, column-gap, and column-rule-width) must be specified.
Related specificationscolumn-width
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4