Name

BGPROPERTIES — NN n/a IE 3 HTML n/a

Synopsis

BGPROPERTIES=”property"

Optional

An Internet Explorer attribute that lets you define whether the background image (set with the BACKGROUND attribute or style sheet) remains in a fixed position or scrolls as a user scrolls the page. This can provide both intriguing and odd effects for the user. When the background image is set to remain in a fixed position, scrolled content flows past the background image very much like film credits roll past a background image on the screen.

Example

<BODY BACKGROUND="watermark.jpg" BGPROPERTIES="fixed">...</BODY>

Value

If set to "fixed", the image does not scroll. Omit the attribute or set it to an empty string ("") to let the image scroll with the content.

Default

None.

Object Model Reference

IE

[window.]document.body.bgProperties

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.