Help Center

Local Navigation

CSS property: position

Availability

BlackBerry® Device Software version 4.6 or later

Usage

All elements

Inherited

No

Default value

static

The position property specifies that the element is positioned. The value of the position property defines how the BlackBerry® Browser handles the values of the top, bottom, left, and right properties.

Considerations

If the position property is applied to an element, the element is said to be “positioned”. When an element is positioned, you can apply the following additional positioning properties:

Property values

Value

Description

hidden

This value specifies that all positioning properties applied to this element are absolute; that is, the values of the top , bottom , left , and right properties define the element’s exact position within its containing block.

fixed

This value specifies that the positioning properties applied to this element fix the element to a position relative to the BlackBerry Browser display; that is, the values of the top , bottom , left , and right properties define the element’s exact position within the browser display.

relative

This value specifies that all positioning properties applied to this element are relative to its normal position didn the page flow; that is, the values of the top , bottom , left , and right properties are added to the elements position within the normal flow.

static

This values specifies that the element is positioned within the normal flow of page. The top , bottom , left , and right properties have no effect.

inherit

This value specifies that the element inherits the position property value from the containing element.

Index


Was this information helpful? Send us your comments.