Log in

View Full Version : <div> text with background image - error



jayd_21
02-19-2008, 10:48 PM
I having a problem with a background image in a <div>, the image is inserted with background-image:url(). Any images or text I add to the <div> are displayed after the background image not on top of. What's up with that?

Jas
02-20-2008, 03:23 AM
div#id{
background-image:url("./myimage.jpg");
}
It wouldn't do that unless there was a problem somewhere else in your css/html. Post your code or a link to it and we'll check it out.