snowman222
01-01-2009, 09:40 PM
OK, in the site I have the body background an image (just a subtle grey really).And I want to put this picture i have as the background for a couple of the DIVs. So I use the same code as I did for the body background (just change the name). But now It wont show the DIV background, even though the body background works fine.
heres what I used for the body background...
body{
background-image: url(site backgroud/images/tile.gif;)
}
and the DIV Background...
.box{
background-image: url(div background/images/tile.gif;)
border: 1px solid black;
}
All i want is the DIV background to show once (its a pic of a blank piece of notebook paper) but be the size of the boxes that I put around the DIVs.
Any ideas???
heres what I used for the body background...
body{
background-image: url(site backgroud/images/tile.gif;)
}
and the DIV Background...
.box{
background-image: url(div background/images/tile.gif;)
border: 1px solid black;
}
All i want is the DIV background to show once (its a pic of a blank piece of notebook paper) but be the size of the boxes that I put around the DIVs.
Any ideas???