background color disappears when height attribute is added

Discussion in 'CSS' started by Linc4Justice, Nov 5, 2007.

  1. #1
    Damn this browser, damn it to the deepest pits of hell. :mad:

    Ok, I have two blocks I'm working with. The first block is used for banner placement so I set it with an absolute height (height: 90px), that way even if no banner ads show, the block will remain a fixed size. The problem is when the page is loading, the background color for the static block after this banner block completely disappears, until the page is finished loading, then it reappears again. I hate this behavior, and I noticed it only goes away if I remove the height attribute.

    Has anyone run into this kind of IE6 rendering problem before? Is it a known bug and if so could there be a workaround? Thanks for any help. :D
     
    Linc4Justice, Nov 5, 2007 IP
  2. nix

    nix Guest

    Messages:
    116
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    have you specified a bgcolor for the static block?
     
    nix, Nov 6, 2007 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    Some code would probably help us diagnose the problem better.
     
    deathshadow, Nov 6, 2007 IP
  4. Linc4Justice

    Linc4Justice Guest

    Messages:
    94
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Solved it, it was a variation of the IE6 flicker bug. If I set a height attribute in the static block as well, the problem goes away. :D

    Sorry I didn't post code, I wanted to see if anyone had a problem like mine before first. :cool:
     
    Linc4Justice, Nov 6, 2007 IP