SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    Minneapolis
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Horizontal Drop-Down Menu IE7 Issue

    Hey,

    I'm having trouble with a navigation menu for a site I'm working on. You can see an example here:

    http://www.2404.org/bjorn/nav-test.html

    It works fine in FF but the drop-down part is coming up on the right side in IE7. I've tried clearing, floating, etc. etc. but can't seem to get it working properly.

    Can anyone help? I think I've just been looking at it for too long.

  2. #2
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Apply position on the parent as a reference, and top and left on the absolute positioned sublist, e.g.:
    Code CSS:
    #nav li {
        position: relative;
    }
    #nav li ul {
        position: absolute;
        top: 100%;
        left: 0;
    }
    Happy ADD/ADHD with Asperger's


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
  •