The image will be visible only inside
the element itself, even though its starting position may be outside the element.
309 Color and Backgrounds
Compatibility
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
Full Full Full Full Full Full Full Full Full Full
Internet Explorer versions 6 and 7 will not base a background-position em length
value on the parent element??™s font-size when that background-image is applied
to the body element. Instead, these browsers will act as if the font-size has not
been set on the html element. This issue only applies to the body element; other
elements on the page remain unaffected.
Internet Explorer for Windows versions up to and including 7 don??™t support the
value inherit.
Color and Backgrounds
background-attachment
background-attachment: { scroll | fixed | inherit } ;
The background-attachment property
defines whether the background-image
scrolls with the document, or remains
fixed to the viewing area. Its default
value is scroll, which dictates that as
the document is scrolled up or down,
the image scrolls with it.
Pages:
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463