background-attachment property
What it does:
This property controls whether or not the background scrolls with the page or is "fixed". Only applicable if a background-image is specified.
HTML Equivalent:
<body background="URL HERE" bgproperties="fixed">
Values:
scroll: Background image moves when the viewer scrolls down the page.
fixed: Background image does not appear to move when the viewer scrolls.
Example:
External Style Sheet: body.main {background-image: url(URL HERE); background-attachment: fixed;}
In-line: <body style="background-image: url(URL HERE); background-attachment: fixed;">
CSS Properties: Contents
::Fonts font-style font-weight font-family color |
::Text text-align text-decoration text-transform text-shadow |
::Backgrounds background-color background-image background-repeat background-attachment |
::Scrollbars | ::Dimensions | ::Margins and Padding |
::Borders Border Border-width Border-style |