Name

BACKGROUND — NN 4 IE n/a HTML n/a

Synopsis

BACKGROUND=”URL"

Optional

Specifies an image file that is used as a backdrop to the text and other content of the ILAYER element. Unlike normal images that get loaded into browser content, a background image loads in its original size (without scaling) and tiles to fill the available layer space. Smaller images download faster but are obviously repeated more often in the background. Animated GIFs are also allowable but very distracting to the reader. When selecting a background image, be sure it is very muted in comparison to the main content so that the content stands out clearly. Background images, if used at all, should be extremely subtle.

Example

<ILAYER ID="thingy4" SRC="quotes.html" BACKGROUND="blueCrinkle.jpg">
</ILAYER>

Value

Any valid URL to an image file, including complete and relative URLs.

Default

None.

Object Model Reference

NN

[window.]document.layerName.background

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.