
The Complete Idiot's Style Sheets Reference
| Index
| Current Category: Backgrounds |
| Previous Style: background
| Next Style: background-color
|
background-attachment
Controls whether the background image scrolls along with the page text.
Support:
-
Notes:
Possible Values:
- fixed
The background image doesn't scroll with the text.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS1 and later |
4.0 and later |
Not supported |
- scroll
The background image scrolls with the text.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS1 and later |
4.0 and later |
Not supported |
Example:
<BODY STYLE="background-image: url(bg03.gif); background-attachment: fixed">
| Index
| Current Category: Backgrounds |
| Previous Style: background
| Next Style: background-color
|
|