Lady Crumpet's Armoire


Archives

? The Clean and the Dirty | Main | Library of Alexandria ?

May 12, 2004

How to set background image in CSS

In the body portion of your stylesheet:

body {
margin: 10px 75px 10px 75px;
background:#ffffea;
}

Substitute background-image: url("INSERT URL PATH HERE"); for the background line above, which merely sets the background color.

I'll be using this once I'm sure the templates for my other pages, such as the archives, work with this accordingly.

Yours, &c., LC | 04:32 PM | Admin