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: layer-background-color | Next Style: layout-grid |


layer-background-image

Sets the background image for a layer.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported Not supported 4.0 and later
Notes: Possible Values:
none
Displays the background without an image.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported Not supported 4.0 and later

url
The file name or full URL of the image to use as the background.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported Not supported 4.0 and later

Example:
<LAYER 
    STYLE="layer-background-image: url(bg03.gif); font-size: 16pt"
    LEFT=5 TOP=10>
<B>One of the most interesting ways to use the background style 
is to specify a background image. The browser will tile the 
image so that it fills the entire section, like this.</B>
</LAYER>

| Index | Current Category: Backgrounds |
| Previous Style: layer-background-color | Next Style: layout-grid |