HomePlansOrderNetworkSupportManualsWeb ToolsAbout UsCornerstone HostingCornerstone Hosting
rib

CSS Index ~ CSS Structure ~ CSS Properties

Background Repeat

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:

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 Index ~ CSS Structure ~ CSS Properties

Copyright © 1997 John Pozadzides and Liam Quinn. All rights reserved.


Home | Plans & Prices | Order Forms | Our Network | Customer Support | Online Manuals | Webmaster Tools | About Us
Acceptable Use Policy | Terms Of Service | Privacy Statement | Contact Us  
Copyright © 2002 Cornerstone Hosting All rights reserved.