column-width property

0 out of 1 rated this helpful - Rate this topic

Gets or sets the optimal width of the columns in a multi-column element.

This property is read/write.

Syntax

column-width: <length> | auto

Property values

The column width.

length

A floating-point number, followed by either an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px), that indicates the optimal width. For more information about the supported length units, see CSS Length Units Reference.

auto

Default. The optimal column width is determined through other property values of the multi-column element, such as columnCount.

CSS information

Applies Tonon-replaced block-level elements (except table elements), table cells, and inline-block elements
Mediavisual
Inheritedno
Initial Valueauto

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.

See also

CSSStyleDeclaration
currentStyle
style
address
blockQuote
div
dl
fieldSet
form
ol
p
pre
table
ul
dd
dt
li
tBody
td
tFoot
th
tHead
tr
button
del
ins
map
object
script

 

 

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.