| Property: |
background-repeat |
| Values: |
repeat, repeat-x, repeat-y, no-repeat |
| Initial: |
repeat |
| Inherited: |
no |
If a background image is specified, the value of
'background-repeat' determines how/if the image is repeated.
A value of 'repeat' means that the image is repeated both
horizontally and vertically. The 'repeat-x' ('repeat-y') value makes
the image repeat horizontally (vertically), to create a single band of
images from one side to the other. With a value of 'no-repeat', the
image is not repeated.
BODY {
background: red url(pendant.gif);
background-repeat: repeat-y;
}
In the example above, the image will only be repeated vertically.
_____________________________________________
Related sites:
-
dotNet Slackers - Your latest resource for ASP.NET
-
Dotnet Spider - Outsourcing and Offshore software development in India
-
XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
-
Planet Source Code - The largest public source code database on the Internet
|
|
|