Click to See Complete Forum and Search --> : DIV Background Watermark


r_barlow
05-26-2006, 12:20 PM
Is there a way to create a background image watermark effect on a div section opposed to the body? I tried and it didn't work...

div#details{
background-image:url(Images/back.gif);
background-position: center 50px;
background-repeat:no-repeat;
background-attachment:fixed;
background-color:#790000;
border:2px solid #000000;
margin: 0px 0px 10px 175px;
padding: 10px 15px 10px 15px;
width:510px;
}

TheBearMay
05-26-2006, 12:44 PM
Works for me as long as my div is > 50px in height....

nataliemac
05-26-2006, 06:01 PM
Looks like it should work just fine.

Just make sure you have the correct filepath and name for your background image.

--Natalie

r_barlow
05-26-2006, 06:26 PM
I think its an IE problem now because it seems to work in firefox....