div appearing under another div in IE

Discussion in 'CSS' started by driesdk, Dec 3, 2006.

  1. #1
    Hey, I have to divs, and one I like to come over another one. I did this by putting the margin to -50 so I will go a bit up over the other div.

    This is working fine in ff but in IE the other div is higher as I want, but its hidden under the other div.
    I could do this with z-index, but since the box I want to be appearing higher is a static box and not absolute this wont work.
    I cant show you the page because I cant post links.

    thanks
     
    driesdk, Dec 3, 2006 IP
  2. jumpenjuhosaphat

    jumpenjuhosaphat Peon

    Messages:
    229
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try setting the div that is not static to a z-index of -1.
     
    jumpenjuhosaphat, Dec 3, 2006 IP
  3. Erind

    Erind Peon

    Messages:
    663
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    try working with clear as well.
     
    Erind, Dec 4, 2006 IP