Background image not showing in FF but ok in IE. [solved]

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
99debra99

Background image not showing in FF but ok in IE. [solved]

Post by 99debra99 »

Hiyya!

I know this isn't a cms site but a friend asked me about her site, and I couldnt work it out so I thought I would ask the CSS gurus here on CMSMS!

If you take a look:

http://www.mp3-junkie.com

Header image looks fine in IE but NOT in Firefox....it totally disappears! LOL.

Here is the CSS for the header:

#header {

        background-image: url(images/header.jpg);
        height: 160px;
        background-repeat: no-repeat;
        margin: 10px;
}

Why would this not work?

If anyone would be so kind as to shed some light on this I would really appreciate it!

Thanks, Debra  :D
Last edited by 99debra99 on Mon Jan 08, 2007 4:49 pm, edited 1 time in total.
99debra99

Re: Background image not showing in FF but ok in IE.

Post by 99debra99 »

Hi again!!

problem solved!

Isn't it strange the amount of times you post for some help then you fix the problem!

Thanks!

Debra  :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Background image not showing in FF but ok in IE.

Post by Dr.CSS »

How did you solve it?...
99debra99

Re: Background image not showing in FF but ok in IE. [solved]

Post by 99debra99 »

Hi Mark!

In the CSS

There were 2 closing tags before the header class div.

}

}

.header

Oops!

Debra  :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Background image not showing in FF but ok in IE. [solved]

Post by Dr.CSS »

OH Yea :) happens to the best of us...

Hope you don't mind I tagged it as [solved]...
Locked

Return to “Layout and Design (CSS & HTML)”