Prev | Current Page 444 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

In these cases, the image will repeat upwards,
filling in the area immediately above the point at which the image was initially
placed.
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.
Color and Backgrounds
background-position
background-position: { { percentage | length | left
| center | right } 1 or 2 values | inherit } ;
SPEC
version initial inherited
CSS1, 2.1 0% 0% NO
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
FULL FULL FULL FULL
The background-position property
defines the initial position of a
background-image. We can repeat the
image from this position using the
background-repeat property, which
will cause the image to be repeated in
both directions along the specified
axis??”see background-repeat (p.


Pages:
432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456