Help Center

Local Navigation

CSS property: font-family

Availability

BlackBerry® Device Software version 3.8 or later

Usage

all elements

Inherited

yes

Default value

BlackBerry® Browser -configuration dependent

The font-family property specifies a prioritized list of specific or generic font for text. The BlackBerry Browser will use the first font that it recognizes.

Considerations

  • You should provide a generic font as the last alternative in your prioritized list.

  • When applying a style inline in an HTML document, you must enclose font-family names in single quotes.

Values

Value

Description

family-name_1 | generic-font_1, [family-name_2 | generic-font_2], ... [family-name_n | generic-font_n]

This value is a comma-separated list of font family names or generic fonts, where

  • family-name represents the name of a font family, such as Arial or "Times New Roman". Font family names that contain spaces must be enclosed in quotation marks.

  • generic-font represents a generic font name, such as serif, sans-serif, cursive, and monospace. Generic font names are keywords, and must not be enclosed in quotation marks.

Index


Was this information helpful? Send us your comments.