Tuesday, June 07, 2005

Need Help With A Cascading Background (Part 2)

Though yesterdays tip gave great instructions on how to do this in Dreamweaver, there is an alternative method. Just use the following in your stylesheet (either embedded or external):

body {
background-image:url("path/to/your/image.jpg");
background-repeat:no-repeat;
background-color:#fff; /*background color for the page*/
}

this can also be shortened to:

body {#fff url("path/to/your/image.jpg")no-repeat;}

Dreamweavers handling of CSS is sometimes a little difficult, however, CSS really isn't that complex and you'll find that learning the basics will save you lots of clicking through endless Dreamweaver palettes.

0 Comments:

Post a Comment

<< Home