BGPROPERTIES Attribute | bgProperties Property

MS Office DHTML, HTML & CSS

BGPROPERTIES Attribute | bgProperties Property


Sets or retrieves the properties of the background picture.

Syntax

HTML<BODY BGPROPERTIES = sProperties ... >
Scriptingbody.bgProperties [ = sProperties ]

Possible Values

sProperties String that specifies one of the following values:
""Background can scroll.
fixedBackground 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 propertiesInternet Link.

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

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
Version data is listed when the mouse hovers over a link, or the link has focus.

BODY

See Also

background


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.