Background doesn't appear in Firefox but does in IE (I'm only a beginner!)

Discussion in 'HTML & Website Design' started by creakymr2, Aug 26, 2007.

  1. #1
    Firefox doesn't like my code and I don't like Firefox!

    This is in my style sheet:


    .header-back {
    background-image: url(../images/oldpaper_RSSize(448x229).jpg) ;



    Any help would be appreciated as I'm only an amateur :eek:
     
    creakymr2, Aug 26, 2007 IP
  2. r0man.de

    r0man.de Active Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #2
    It would help me, if you post the hole page / the link.
     
    r0man.de, Aug 26, 2007 IP
  3. mellonstock

    mellonstock Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Oh don't be hating on Firefox :)

    It may be the parentheses you have in the filename or the path (../) could be wrong. You might try renaming the file to something simple as a test like test.jpg and put the absolute url instead of the relative (../). Then put that url in your browser's address bar to make sure it's on the server.
     
    mellonstock, Aug 26, 2007 IP
  4. r0man.de

    r0man.de Active Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #4
    You will see .. your best friend is firefox and the as*hole will be the ie .. trust me ;)
     
    r0man.de, Aug 26, 2007 IP
  5. creakymr2

    creakymr2 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I didn't set out to dislike Firefox, it just doesn't like my work thats all (which is understandable really).

    I think I've just worked out that it has to be a gif. Would that be right?
     
    creakymr2, Aug 26, 2007 IP
  6. mellonstock

    mellonstock Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    no, it can be a .jpg too.
     
    mellonstock, Aug 26, 2007 IP
  7. creakymr2

    creakymr2 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Welllll, it seems to work onced I changed it to a gif and got rid of the numbers in the file name.

    :confused:

    Thanks for your help guys.
     
    creakymr2, Aug 26, 2007 IP