Home » CSS Tutorial » CSS Properties » background-repeat
background-repeat
CSS Property Info :
| Syntax: |
background-repeat: <value> |
| Possible Values: |
repeat | repeat-x | repeat-y | no-repeat |
| Initial Value: |
repeat |
| Applies to: |
All elements |
| Inherited: |
No |
CSS Browser Support :
Internet Explorer 4+
Netscape 4+
Opera 3.6+
W3C's CSS Level 1+
CSS Profile 1.0
CSS Property Description :
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:
BODY { background: white url(candybar.gif);
background-repeat: repeat-x }
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.
CSS Bugs / Problems :
none
Adapted by style-sheets.com, maker of Style Studio, powerful CSS Editor for Windows.
Copyright © John Pozadzides and Liam Quinn. All rights reserved.
Home » CSS Tutorial » CSS Properties » background-repeat
|