Prev | Current Page 436 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"


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 Buggy Buggy Buggy
Internet Explorer for Windows versions up to and including 7 will only apply the
background from inside the border??™s edge when the element in question has a layout
(p. 158). If the element does not have a layout, the background-color or
background-image will slide under the borders as per the specifications.
Internet Explorer for Windows versions up to and including 7 don??™t support the
value inherit.
Other Relevant Stuff
The CSS Box Model (p. 142)
301 Color and Backgrounds
Color and Backgrounds background-image
background-image: { uri | none | inherit } ;
This property sets the background image
of an element via the specified URI. The
image is placed on top of the
background-color, and if the image is
opaque, the background-color will not
be visible beneath it. When you??™re
setting a background-image, also set a
background-color, where possible, in
case the image is unavailable.


Pages:
424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448