CSS property: background-attachment
Availability
|
BlackBerry®
Device Software version 3.8 or later
|
Usage
|
all elements
|
Inherited
|
no
|
Default value
|
scroll
|
For background images that are set behind an entire document as a property applied to the <body> element, the background-attachment property determines whether a background image is fixed and content scrolls over it, or whether the background scrolls with the content.
Values
Value
|
Description
|
fixed
|
This value indicates that the content scrolls, but the background image does not.
|
scroll
|
This value indicates that the background image scrolls with the content.
|
Index
Was this information helpful? Send us your comments.