Results 1 to 3 of 3

Thread: 2 level menu bug

  1. #1
    Join Date
    Dec 2007
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default 2 level menu bug

    http://89.215.52.231/templates/38/

    this is the menu.. when hover over the multilevel element it's pushed left.. I've tried adding position: relevant; to the other element, too.. but there was no positive results...

    any ideas how to be fixed for FF, IE6 and IE7 ?

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    your navigation only has 1 level.. position: relative just tells the browser how to handle the additional position elements... eg.. top, bottom, left, right ??

    if you wish the "sub-menu" to be entirely right of previous menu element,
    Code:
    element {
         position: relative;
         left: 100%;
    }
    where element is the sub-menu.
    left:100% tells the browser to push the new element (sub-menu) 100% to the left of the current element being hovered over.
    as I stated before you need to do some javascript to get this working in IE6, so please refer to the other post about this, and for future questions just post a reply here, dont start a new thread

  3. #3
    Join Date
    Dec 2007
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    it working in IE6.. the position: relevant and left:0 for the parent element fixed the problem.. Thanks.. I didn't knew that "left" was referring to the parent element.. thought it's for the body container..

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
  •