background-attachment

Support Key: [CSS1|CSS2|CSS2.1] [IE4B2|N6|O3.5|S1]
Other Color/Background Properties
color
layer-background-color
layer-background-color
background
background-color
background-image
background-repeat
background-position
background-position-x
background-position-y
= Index DOT Css by Brian Wilson =
  Main Index | Property Index | CSS Support History | Browser History  



   Quick Statistics   
Default Value:
   scroll
Applicable Elements:
ALL
Inherit From Parent:
No
Applicable Media:
Visual
HTML Equivalent:
<body BACKGROUND="URL" BGPROPERTIES="fixed">
Official Docs:
CSS1: Sect. 5.3.5
CSS2: Sect. 14.2.1, CSS2.1: Sect 14.2.1
What is it?
If a 'background-image' is specified, this value indicates whether or not the background image will move when the browser window is scrolled to view text outside the current display area.

Allowed Values
inherit
[CSS2|CSS2.1] [N6|O4|S1]
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
scroll
[CSS1|CSS2|CSS2.1] [IE4B2|N6|O3.5|S1]
Type: Explicit
Description:
Background image moves when the browser window is scrolled to view text outside the current display area.
fixed
[CSS1|CSS2|CSS2.1] [IE4B2|N6|O3.5|S1]
Type: Explicit
Description:
Background image does not move when the browser window is scrolled to view text outside the current display area.
Example
Ext/Doc: body { background-image: url(http://www.foo.com/image.gif);
background-attachment: fixed }
In-Line:  <body STYLE="background-image: url(http://www.foo.com/image.gif);
background-attachment: fixed">text</body>
Notes Browser Peculiarities

Boring Copyright Stuff....