July 1998
Intermediate to advanced
1456 pages
65h 5m
English
background — NN n/a IE 4 DOM n/a
Read/Write
The element’s style sheet background
attribute. This is a shorthand attribute, so the scripted property
consists of a string of space-delimited values for the
backgroundAttachment,
backgroundColor,
backgroundImage,
backgroundPosition, and
backgroundRepeat property values. One or more
values may be in the background value, and the
individual values may be in any order.
document.all.tags("DIV").style.background = "url(logo.gif) repeat-y"String of space-delimited values corresponding to one or more individual background style properties.
None.
Read now
Unlock full access