Open main menu

CDOT Wiki β

Changes

CSS GUIDE BACKGROUND REPEAT

291 bytes added, 20:10, 14 December 2006
Summary
== Summary ==
This property sets the have to be used with background image of an elementelements. When setting a background image, authors should also specify a background color that will be used when the image is unavailable. When the image is available, it is rendered on top of the background color. (Thus, the color is visible in the transparent parts of the image).
Values for this property are either <uri>, to specify the image, or 'none', when no image is used.
== Syntax ==
If a background image is specified, this property specifies whether the image is repeated (tiled), and how. All tiling covers the content and padding areas of a box. 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.:
<pre>
BODY {
1
edit