I've tried that it just replaces the background image I have in the body.
Do you know of a way I can have two background images in the body and set one on top of the other?
Right now i have three images on top of each other
sky, grass, and dirt in body
sun and clouds in sun
and flowers in flowers
when I add a 2nd background image to body it replaces it. The sun and flowers are still there but I don't know how to place the sky, grass, and dirt image on top of the one that repeats both x and y.
Quote:
body{
padding: 10px;
font-family: Arial, Helvetica, sans-serif;
background: url(images/header_bg.jpg) repeat-x;
text-align: center;
height: 248px;
}
h1{
padding: 0px; margin: 0px;
}
#sun {
background-image:url(images/sun.gif)
margin-top: 0px;
text-align: left;
padding-bottom: 27px;
}
#flowers {
background: url(images/flowers.gif) repeat-x;
margin-top: 10px;
margin-left: 0px;
height: 50px;
}
|
|