July 1998
Intermediate to advanced
1456 pages
65h 5m
English
backgroundRepeat — NN n/a IE 4 DOM n/a
Read/Write
Whether a background image (specified with the
backgroundImage property) should repeat and, if
so, along which axes. You can use repeating background images to
create horizontal and vertical bands with some settings.
document.all.div3.style.backgroundRepeat = "repeat-y"
With a setting of no-repeat, one instance of the
image appears in the location within the element established by the
backgroundPosition property (default is top-left
corner). Normal repeats are performed along both axes, but you can
have the image repeat down a single column
(repeat-y) or across a single row
(repeat-x).
repeat
Read now
Unlock full access