Sets or retrieves the properties of the background picture.
Syntax
HTML <BODY BGPROPERTIES = sProperties ... > Scripting body.bgProperties [ = sProperties ]
Possible Values
sProperties String that specifies one of the following values:
"" Background can scroll. fixed Background is fixed and cannot scroll. The property is read/write with a default value of an empty string ("").
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.
Remarks
The property, for example, specifies whether the picture is a fixed watermark or scrolls with the page. This attribute/property is supported only by Internet Explorer.
Example
This example uses a fixed background image for the page.
Sample Code
<BODY BACKGROUND="/ie/images/watermrk.gif" BGPROPERTIES="fixed" BGCOLOR=#FFFFFF TEXT=#000000 LINK=#ff6600 VLINK=#330099>
Applies To
See Also