Help Center

Local Navigation

CSS property: table-layout

Availability

BlackBerry® Device Software version 4.6 or later

Usage

Table and inline-table elements

Inherited

No

Default value

auto

The table-layout property specifies whether the column width is fixed or determined by the width of the content.

Property values

Value

Description

auto

This value specifies that the width of the cell is adjusted to the content. For example, if a line of text is 40 pts in length, the cell is adjusted to a width of 40 pts plus any specified margin width.

fixed

This value specifies that the width of a cell is fixed to a specified width. For example, if a column is fixed to a width of 25 pts, any line of text that exceeds this length is broken and continued on a new line.

inherit

This value specifies that the element inherits the table-layout property value from the containing element.

Index


Was this information helpful? Send us your comments.