Name

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

Synopsis

BACKGROUND=”URL"

Optional

Specifies an image file that is used as a backdrop to the cell. 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 cell 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

<TH BACKGROUND="watermark.jpg">

Value

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

Default

None.

Object Model Reference

IE

[window.]document.all.elementID.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.