Controlling Repetition

One problem with the old HTML background attribute is that the graphic always tiles, filling up the entire background of a web page. (Not only that, it's being phased out from current HTML standards.) Fortunately, CSS gives you far greater control. Using the background-repeat property you can specify how (or if at all) an image tiles:

background-repeat: no-repeat;

The property accepts four values: repeat, no-repeat, repeat-x, and repeat-y: