div style working in Firefox but not IE8
        Posted  
        
            by Nathan Spiwak
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Nathan Spiwak
        
        
        
        Published on 2010-05-19T13:40:45Z
        Indexed on 
            2010/05/19
            13:50 UTC
        
        
        Read the original article
        Hit count: 245
        
I am creating a banner that resizes to fit the window (I got the code of a blog post) and it works fine in Firefox, but it doesn't display at all in IE8. Please help!!
<html>
<body>
<div style="position:relative; width:100%; height:100%; margin:0px; padding:0px; left:0px;right:0px;z-index:1”><img src="https://na6.salesforce.com/servlet/servlet.ImageServer?id=01580000000pT8r&oid=00D80000000aYeL&lastMod=1273785188000" width="100%"></div>
<div style="z-index:2; position:relative; margin:0px; padding:0px;">
</div>
</body>
</html>
© Stack Overflow or respective owner