BGPROPERTIES Attribute | bgProperties Property | Internet Development Index |
Sets or retrieves the properties of the background picture.
Syntax
HTML <BODY BGPROPERTIES = sProperties... > Scripting BODY.bgProperties [ = sProperties ]
Possible Values
sProperties String that specifies or receives one of the following values.
empty string Default. Background can scroll. fixed Background is fixed and cannot scroll. The property is read/write. The property has a default value of empty string.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About 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 Microsoft® Internet Explorer.
Example
This example uses a fixed background image for the page.
<BODY BACKGROUND="/ie/images/watermrk.gif" BGPROPERTIES="fixed" BGCOLOR=#FFFFFF TEXT=#000000 LINK=#ff6600 VLINK=#330099>
Standards Information
There is no public standard that applies to this property.
Applies To
BODY