Search DaTutorials:  
HOME
CSS Tutorials
Articles
Basics
Backgrounds
Customizing
Formatting
General
Layouts
Link Effects
Navigation
Positioning
Rollovers
Text Effects
Search For a Tutorial
CSS Reference

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.


Copyright © 1998 Liam Quinn. All rights reserved.

     Buy Anything On eBay | Secured Loans | Loans | Western Union | Mortgage calculator
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp