Help Center

Local Navigation

CSS property: max-height

Availability

BlackBerry® Device Software version 4.6 or later

Usage

all elements except non-replaced inline elements, table columns, or column groups

Inherited

no

Default value

none

The max-height property specifies the maximum height for an element.

Values

Value

Description

length

This value specifies an absolute value for the maximum height of the element. The value can be an integer with the unit of measurement. For example, “10pt” or “6px”.

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

percentage

This value specifies the maximum height as a percentage of the height of the containing block.

none

This value specifies that there is no maximum height for the element.

Index


Was this information helpful? Send us your comments.