SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast wildsue's Avatar
    Join Date
    Oct 2003
    Location
    Switzerland
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ie-problem with horizontal submenu not covering underlying layers

    Hi together!
    I'm getting nuts about a very special problem. Hope somebody can help me.
    See the example here: http://www.sutanet.ch/test/sample.php
    The problem exists only in ie6, mozilla, firefox and opera haven't any problems.
    When you hover the menu the submenu items do not cover the underlying layer. I tryed with z-index, doesn't help... Now i am a big huge question mark....

    Hope you can help me! Greetings from Switzerland!

    Susanne

  2. #2
    SitePoint Member
    Join Date
    Apr 2006
    Location
    mw.sn.de
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    #content { z-index: 1; } and #navbar { z-index: 2; } should fix it. get rid of all other z-indexes.
    - Annuit . Coeptis /.
    http://www.pro-lamer.de

  3. #3
    SitePoint Enthusiast wildsue's Avatar
    Join Date
    Oct 2003
    Location
    Switzerland
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy

    hi!
    doesn't help unfortunately... any other ideas?
    greetings

  4. #4
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    z-index only works if the element has position: absolute/relative applied to it as well.

  5. #5
    SitePoint Enthusiast wildsue's Avatar
    Join Date
    Oct 2003
    Location
    Switzerland
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Tarbos, hi Tyssen!
    Thanks a lot for your help! Now I found with your help even 2 (!) solutions. The one is now online as an example here: http://www.sutanet.ch/test/sample.php

    Greetings from Switzerland!


Bookmarks

Posting Permissions

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