Prev | Current Page 457 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

That said, it??™s common practice to use background rather than
background-color because the former property is shorter. There??™s no problem in
doing this??”as long as you realize the consequences.
SPEC
version initial inherited
CSS1, 2.1 see below NO
BROWSER SUPPORT
Op9.2+ Saf3+ FF1+ IE5.5+
FULL FULL FULL BUGGY
313 Color and Backgrounds
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 that Internet Explorer versions up to and including 6 don??™t
support transparent borders.


Pages:
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469