Help Center

Local Navigation

CSS property: overflow

Availability

BlackBerry® Device Software 4.6 or later

Usage

all non-replaced block-level elements, table cells, and inline-block elements

Inherited

no

Default value

visible

The overflow property specifies how the BlackBerry® Browser renders an element when the element's content overflows its block box.

Property values

Value

Description

auto

This value specifies that the browser clips content that overflows the block box. The browser displays a scroll bar to allow the user to view the clipped content. If content does not overflow the block box, then no scroll bar appears.

hidden

This value specifies that the browser clips any content that overflows the block box. The browser hides the clipped content and does not provide a mechanism for the user to view that content.

scroll

This value specifies that the BlackBerry Browser should clip any content that overflows the block box. The browser displays a scroll bar to allow the user to view clipped content. The scroll bar appears even if the content does not overflow the block box.

If you set the overflow-style property to marquee-line or marquee-block (available to BlackBerry devices running BlackBerry Device Software 4.7.1 or later), and specify overflow: scroll, the BlackBerry Browser scrolls the content across the block box with no user intervention required.

visible

This value specifies that the browser does not clip the content. The browser renders the content outside the element's block box.

Index


Was this information helpful? Send us your comments.