Help Center

Local Navigation

CSS property: white-space

Availability

BlackBerry® Device Software version 4.6 or later

Usage

all elements

Inherited

yes

Default value

normal

The white-space property specifies how white-space in an element is handled by the BlackBerry® Browser.

Values

Value

Description

normal

This value specifies that white spaces are collapsed, and that line breaks are added as necessary.

nowrap

This value specifies that white space is collapsed, but line breaks are suppressed.

For BlackBerry devices running BlackBerry Device Software prior to version 4.7.1, this value does not break lines on white space, but does allow lines to break according to Unicode line breaking rules. These rules allow lines to break in some special cases (for example, at opening punctuation such as an opening bracket "(" ).

pre

This value specifies that white spaces are preserved, and lines are only broken at line breaks in the source.

Index


Was this information helpful? Send us your comments.