asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Element Attributes > BGPROPERTIES Attribute

BGPROPERTIES Attribute | bgProperties Property


Sets or retrieves the properties for the background picture.

Syntax

Inline <body bgproperties = 'fixed'...>
Script body.bgProperties = sProperties ]

Possible Values

"' Indicates a scrolling background.
fixed Indicates a fixed ( nonscrolling ) background.

The property is read/write with a default value of an empty string ( "' ).

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

The sample code below uses a fixed background image for the page.

<body BACKGROUND="imgs/watermrk.gif"
   BGPROPERTIES="fixed">
Applies To

BODY

See Also

background



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note