background-image in IE

Posted by amit on Stack Overflow See other posts from Stack Overflow or by amit
Published on 2010-04-12T10:56:52Z Indexed on 2010/04/12 11:03 UTC
Read the original article Hit count: 238

Filed under:
|
|
  <div id="banner" style="display: block; background-image: url('images/swirl_home.gif'); background-repeat: no-repeat; background-color: #e7e7e7;">
<div id="Hi">
                some text here...
    </div>  

<div id="loader">
    <img src="images/ajax-loader.gif"  />
    </div>
</div>
#banner {
    background-color: #e7e7e7;
    min-height: 285px;
}

the above code renders perfectly in Mozilla and Chrome. Fails entirely in IE 6/7/8. The background image just doesnt show. I can see the text though.

What am I doing wrong...?

© Stack Overflow or respective owner

Related posts about css

Related posts about html