The background of an element is the
area covered by the width and height
of that element (whether those
dimensions are set explicitly, or the content dictates them); it also includes the area
covered by padding and borders. A background-color (or background-image) that??™s
applied to an element will appear beneath the foreground content of that element,
and the area covered by the padding and border properties for the element. This
coverage area is evident where an element has transparent (or dotted or dashed)
borders, and the background is seen beneath the borders (or between the dots). Note
Example
This style rule sets a fixed
background-image to the element with ID
"example":
#example{
background-attachment: fixed;
}
SPEC
version initial inherited
CSS1, 2.1 scroll NO
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
FULL FULL FULL BUGGY
The Ultimate CSS Reference 310
that Internet Explorer versions up to and including 6 don??™t support transparent
borders.
Value
The value scroll allows the background-image to scroll along with the document.
Pages:
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464