CSS property: marquee-direction
Availability
|
BlackBerry®
Device Software 4.7.1 or later
|
Usage
|
all non-replaced block-level elements, table cells, and inline-block elements
|
Inherited
|
yes
|
Default value
|
forward
|
The marquee-direction property specifies the direction that the BlackBerry® Browser scrolls the content when you specify overflow: scroll for the element.
The values for this property are relative to the values that you specify for the overflow-style
and direction
properties.
The BlackBerry Browser often sets the direction property based on the default language of the BlackBerry device.
Property values
Value
|
Description
|
forward
|
This value indicates that the content scrolls forward through the block box, relative to the values that are set for the overflow-style
and direction
properties.
- If the overflow-style: marquee-line and direction: ltr styles are set on or inherited by the element, the content scrolls from left to right through the block box.
- If the overflow-style: marquee-line and direction: rtl styles are set on or inherited by the element, the content scrolls from right to left through the block box.
- If the overflow-style: marquee-block style is set on or inherited by the element, the content scrolls upward through the block box.
|
reverse
|
This value indicates that the content scrolls backwards through the block box, relative to the values that are set for the overflow-style
and direction
properties.
- If the overflow-style: marquee-line and direction: ltr styles are set on or inherited by the element, the content scrolls from right to left through the block box.
- If the overflow-style: marquee-line and direction: rtl styles are set on or inherited by the element, the content scrolls from left to right
through the block box.
- If the overflow-style: marquee-block style is set on or inherited by the element, the content scrolls downward through the block box.
|
Index
Was this information helpful? Send us your comments.