CSS3: background-spacing

 > This property specifies the distance that separates the
 > 'background-image' of the position given by the property
 > "background-position", as well as the spacing among all
 > of the repetitions of the background image.

I'm not sure what this sentence means. Perhaps "This
property specifies the distance between repetitions of
the background image." would be clearer. As for
separating the image from its original position --

BODY {
   background-image: url(image.gif);
   background-repeat: repeat-x;
   background-spacing: 20px
   background-position: 50% 50%;
}

Why?
   _________,_________
  |                   |
  |                   |
_| *\*/*  *\*/*  *\*/|_
  | *-*-*  *-*-*  *-*-|
  | */*\*  */*\*  */*\|
  |_________,_________|

~fantasai

Received on Friday, 13 September 2002 01:47:34 UTC