Hi,
I have created a div with a background image, and i have now created new div's with no background image. but these new divs keep getting the first div's background image applied to them. i am not sure why. here is some of the css/style guide, the first div is the one i want with a background image, the second div i want to sit on top of the first div, with no background image.
i also have a problem where the background image is displaying half of it. i dont understand cos its 515px wide so it should definietly fit within the div. am i supposed to write the size of the div in the html section or on the stylesheet?
help help help! please
I have created a div with a background image, and i have now created new div's with no background image. but these new divs keep getting the first div's background image applied to them. i am not sure why. here is some of the css/style guide, the first div is the one i want with a background image, the second div i want to sit on top of the first div, with no background image.
Code:
div {
id="background of box"
width: 1000px;
height: 1200px;
background-image:url('images/LEFTBOX.jpg');
background-repeat:no-repeat;
}
div {
id="images"
width: 200px;
height: 700px;
margin: 120px 200px 70px 35px;
}
help help help! please
Comment