Alex Rivera | Logout

Background image is not displayed in Firefox

Asked 2008-12-16T13:44:39.477
20

An image set as the background of a DIV is displayed in IE, but not in Firefox.

CSS example:

div.something {
background:transparent url(../images/table_column.jpg) repeat scroll 0 0;
}

(The issue is described in many places but haven't seen any conclusive explanation or fix.)

Edit
Report

2 Answers

1

try this.

background-color: transparent;
background-image: url("/path/to/image/file.jpg");
background-repeat: repeat;
background-position: top;
background-attachment: scroll;
answered 2008-12-26T23:28:24.233
0

Are you absolutely sure the image is a JPG file and not a PNG/Other file?

I'm wondering if IE is letting you get away with something other browsers are not.

Likewise, is the files case exactly as specified?

answered 2008-12-16T20:00:06.707

Your Answer