The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Backgrounds |
| Previous Style: background-position | Next Style: behavior |


background-repeat

Controls whether (and how) the browser tiles the background image to fill the window.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 4.0 and later Not supported
Possible Values:
no-repeat
Doesn't tile the background image.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 4.0 and later Not supported

repeat
Tiles the background image to cover the entire browser window.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 4.0 and later Not supported

repeat-x
Tiles the background image horizontally, only.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 4.0 and later Not supported

repeat-y
Tiles the background image vertically, only.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 4.0 and later Not supported

Example:
<BODY STYLE="background-image: url(bg03.gif); background-repeat: no-repeat">

| Index | Current Category: Backgrounds |
| Previous Style: background-position | Next Style: behavior |