BGPROPERTIES Attribute | bgProperties参数属性
| DHTML文档教程 |
Sets or retrieves the properties of the background picture.
dhtml语法
HTML | <BODY BGPROPERTIES
= sProperties... >
|
---|
Scripting | BODY.bgProperties [ = sProperties ] |
---|
DHTML可能的值
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.
DHTML代码范例
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>
是否符合公共标准
There is no public standard that applies to this property.
Applies To