Click to See Complete Forum and Search --> : Problem with repeating background image in Fifrfox


turb
02-17-2004, 11:33 AM
Hi!

I don't understand why background-image or background-color don't work in Firefox!

Work well in IE


div#window {
width: 730px;
margin: 0 auto;
background-image: url("../images/f_body.gif");
}

coothead
02-17-2004, 11:50 AM
Hi there turb,

You will need to define height
to get it to work in browsers other than I.E.

c:D:Dthead

turb
02-17-2004, 12:11 PM
Thank coothead!

But why if i use this:


div#window {
margin: 0 auto;
width: 730px;
height: 200px;
background-image: url("../images/f_body.gif");
}


it's working but if i use that


div#window {
margin: 0 auto;
width: 730px;
height: 100%;
background-image: url("../images/f_body.gif");
}


it doesn't???

t

coothead
02-17-2004, 12:28 PM
Hi there turb,

I am afraid that I cannot say why it does not work for you.
It works for me in I.E. 6, firefox 0.8, Mozilla 1.6, Netscape 7.1
and Opera 7.2 :D

c:D:Dthead