Home > Abakada: Back to Basics > Language References > HTML Element Attributes > BGPROPERTIES Attribute
Sets or retrieves the properties for the background picture.
Inline |
<body bgproperties = 'fixed'...> |
Script |
body.bgProperties = sProperties ] |
"' |
Indicates a scrolling background. |
fixed |
Indicates a fixed ( nonscrolling ) background. |
The property is read/write with a default value of an empty string ( "' ).
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.
The sample code below uses a fixed background image for the page.
<body BACKGROUND="imgs/watermrk.gif"
BGPROPERTIES="fixed">
BODY
background