Background image in FF but not in IE --- help please

Discussion in 'CSS' started by sahmothers.com, May 22, 2008.

  1. #1
    Okay so I must say as a webmaster I am a bad one because I only care/use Firefox.

    With that said I was checking out my favicon in IE and bam no background image.

    Here is what I mean

    In FF my site looks like so:
    http://img81.imageshack.us/my.php?image=ffyh7.jpg

    In IE my site looks like so:
    http://img81.imageshack.us/my.php?image=ieal4.jpg

    The background image is a gif. Should I change this to jpg or something else or is my css off for it?

    background:#d6dadd url(/images/bg.gif)repeat-x;

    Can anyone help me out?

    Thanks
     
    sahmothers.com, May 22, 2008 IP
  2. Neticule

    Neticule Well-Known Member

    Messages:
    491
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Found the problem :)

    You need a space before "repeat-x"
    Your code:
    background:#d6dadd url(/images/bg.gif)repeat-x;

    Fixed:
    background:#d6dadd url(/images/bg.gif) repeat-x;
     
    Neticule, May 22, 2008 IP
    sahmothers.com likes this.
  3. sahmothers.com

    sahmothers.com Well-Known Member

    Messages:
    2,389
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    135
    #3
    You rock ! Rep added !
     
    sahmothers.com, May 22, 2008 IP
  4. Neticule

    Neticule Well-Known Member

    Messages:
    491
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Thanks sahmothers!
     
    Neticule, May 22, 2008 IP