Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS Dropdown Menu Behind Div In IE7

    Hi guys,

    I'm having an issue with a CSS dropdown menu on my site going behind a div in IE7. I've tried removing all position:relative tags from containing divs, but nothing seems to be helping. Can someone see what the problem might be?

    Here's the page in question: http://www.SomnoMedics.com

    Thanks!
    Last edited by TiredChildren; 06-04-2010 at 12:30 AM.

  • #2
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Welp, nevermind. Looks like I hadn't tried everything. Situation fixed.

  • #3
    New Coder
    Join Date
    Jun 2010
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The DOM specifies that if elements intersect, the "later" element (the one closest to the bottom of the code) will go on top of the earlier element. That said, if you specify a z-index for each item, with a higher number on the item that should go overtop, that should do the trick.

    http://www.w3schools.com/css/pr_pos_z-index.asp

    EDIT: Ha, beat me to the punch.


  •  

    Posting Permissions

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