Help Center

Local Navigation

CSS property: border-top

Availability

BlackBerry® Device Software version 3.8 or later

Usage

All elements

Inherited

No

Default value

The border-top property is a shorthand property used to set any or all of the color, style, and width properties for the top border. Properties can be listed in any order.

Property values

Value

Description

[ border-top-color | border-top-style | border-top-width ]

This value is a whitespace-separated list of values for the border-top-color, border-top-style, and border-top-width properties. You can set from one to three values. Properties can be listed in any order.

See the descriptions of the individual properties for more information about valid values.

inherit

This value specifies that the element inherits the border-top property of the containing element.

Index


Was this information helpful? Send us your comments.