www.webdeveloper.com
Results 1 to 2 of 2

Thread: Background image disapears in IE

  1. #1

    Background image disapears in IE

    In my page (http://strategyplanet.com/populous/) the center of the page has two divs ("main" and "inmain" to give both sides of the page a border. For some reason the top sections of the backgrounds disapear in irregular sections in IE only. Here's the CSS:
    PHP Code:
    div.main/* Outer Box For content */
         
    background-imageurl("images/mainL.gif");
        
    background-repeatrepeat-y;
        
    margin-left160px;
        
    margin-right20px;}
    div.inmain/* Content */
        
    background-imageurl("images/mainR.gif");
        
    background-repeatrepeat-y;
        
    background-position:right;
        
    padding0px 9px;
        
    margin: -10px 0px;} 
    - God

  2. #2
    I've narrowed it down now so I know what causes it. For seom reason the negative margin on the inner div is what causes it, when it's not there the background shows up.

    Knowing that I can just use an IE hack
    - God

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles