Column-gap

From CSScripting

Value: <length>

Initial: 0

Applies to: block-level elements

Inherited: no

Percentage values: Not Implemented


The value must be given in pixels.

The 'column-gap' property sets the padding between columns. If there is no column rule between columns, the value of this property is equal to the distance between columns. If there is a column rule between columns, half the gap will appear on each side of the column rule.

Column gaps cannot be negative.


Example:

body { column-count: 2; column-gap:10px; }


See also W3C's column-gap specifications