Help Center

Local Navigation

CSS property: border-spacing

Availability

BlackBerry® Device Software version 4.6 or later

Usage

Table and inline-table elements

Inherited

Yes

Default value

0

The border-spacing property specifies the spacing between the borders if they are not collapsed into a single border.

Property values

Value

Description

length | [ length ]

These values specify the width of the spacing. If you specify two values, the first specifies the horizontal spacing and the second the vertical spacing. If you specify a single value, it defines the horizontal and vertical spacing.

The value can be an integer with the unit of measurement. For example, “10pt” or “6px”. Negative values are not permitted.

Possible units include pt, px, in, cm, pc, em, or ex.

inherit

This value specifies that the element inherits the border-spacing property of the containing element.

Index


Was this information helpful? Send us your comments.