| Syntax: | background-repeat: <value> |
|---|---|
| Possible Values: | repeat | repeat-x | repeat-y | no-repeat |
| Initial Value: | repeat |
| Applies to: | All elements |
| Inherited: | No |
The background-repeat property determines how a specified background image is repeated. The repeat-x value will repeat the image horizontally while the repeat-y value will repeat the image vertically. For example:
Example:
BODY { background-: repeat-x; background-image: url(Ivy.gif)}In the above example, the image will only be tiled horizontally.
Authors may also use the shorthand background property, which is currently better supported than the background-repeat property.