Background ok in Firefox, not ok in IE :(

Discussion in 'CSS' started by mads, Aug 12, 2008.

  1. #1
    The background on my site billigelaan.org doesn't behave in IE, but it looks perfectly all right in Firefox.

    Firefox:
    [​IMG]

    IE:
    [​IMG]

    The part of the background that doesn't behave is controlled by this line in the CSS file (in #content):
    background: url(images/bg.jpg) repeat-y;

    It looks like IE simply ignores the line. Why is that and what can I do about it?

    Thanks, Mads
     
    mads, Aug 12, 2008 IP
  2. SibTiger33

    SibTiger33 Peon

    Messages:
    203
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    works fine for me mate - what version of IE are you using?

    (i tested in IE7)

    i've not looked at your css yet though
     
    SibTiger33, Aug 13, 2008 IP
  3. btimms

    btimms Peon

    Messages:
    4
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Looks like a "haslayout" issue in ie6. This fixes it for me: * html #content {height:1%;}

    This gives "haslayout" to #content in ie6 and below only.
     
    btimms, Aug 13, 2008 IP
    mads likes this.
  4. mads

    mads Well-Known Member

    Messages:
    762
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #4
    IE6... haven't tried IE7 (I have changed to Firefox long ago)

    I'll try looking at the haslayout thing. Thanks.
     
    mads, Aug 13, 2008 IP