Table properties

Property

Value

Description

Support level

Availability

border-collapse

collapse | separate

Specifies whether the table borders are collapsed into a single border.

CSS 2.1

4.6 or later

border-spacing

Length

Specifies the distance between the cell borders if the borders are not collapsed.

CSS 2.1

4.6 or later

caption-side

top | bottom

Specifies the position of the caption box with respect to the table box.

CSS 2.1

6.0 or later

empty-cells

hide | show

Specifies whether or not empty cells are displayed when the borders are not merged.

CSS 2.1

4.6 or later

table-layout

auto | fixed

Specifies whether the column width is fixed or determined by the width of the content.

CSS 2.1

4.6 or later

Backgrounds & foregrounds | Box model | Fonts | Lists | Tables | Text | Visual effects | Visual formatting

Last modified: 2014-03-10



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus