columnWidth property

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

This property is read/write.

 

Syntax

HRESULT put_columnWidth(
  [in]          BSTR v
);

HRESULT get_columnWidth(
  [out, retval] BSTR *p
);

Property values

Type: BSTR

The column width.

String format

<length> | auto

CSS information

Applies To non-replaced block-level elements (except table elements), table cells, and inline-block elements
Media visual
Inherited no
Initial Value auto

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll