Help Center

Local Navigation

CSS property: font-weight

Availability

BlackBerry® Device Software version 3.8 or later

Usage

all elements

Inherited

yes

Default value

normal

The font-weight property specifies the thickness of the font.

Values

Value

Description

100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900

These values specify the absolute weight value for the font, with 100 representing the lightest font weight and 900 the heaviest.

The BlackBerry® Browser renders font-weight values from 100 to 400 in a standard roman font, and values from 500 to 900 in a bold font.

bold

This value specifies that the font weight is a standard bold font weight, equivalent to 700 on the numeric scale.

bolder | lighter

These values are relative to the font weight of the parent element.

Specifying bolder increases the font weight by one level on the numerical scale. If the font already had a weight equivalent to 900, it remains 900.

Specifying lighter decreases the font weight by one level on the numerical scale. If the font already had a weight equivalent to 100, it remains 100.

normal

This value specifies that the font uses a standard roman font weight, equivalent to 400 on the numeric scale.

Index


Was this information helpful? Send us your comments.