SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with horizantal nav in IE6 and 7

    Hi,

    Our horizontal menu found here is a drop-down menu that works fine in FF, IE8 but we've got problems in IE6 and 7.

    Can anyone help?

    Thanks

  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)
    Hi,

    Is it the subnav positions that fails in older IE?

    I guess that is your problem.

    The AP subnav needs left and top coordinates. E.g:
    Code:
    ul.topnav li ul.subnav {
    	display: none;
    	position: absolute;
    	top: 100%;
    	left: 0;
    	width: 166px;
    }
    Note: The hide/show of the the sublists by display:none can be unstable in IE7. I recommend hide/show by e.g. a huge negative left margin instead.
    Happy ADD/ADHD with Asperger's

  3. #3
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah brilliant thanks a lot

    The sub nav is now working great in IE7 and 8 as well but still not showing in IE6. I'm on a Mac and using Parallels and IETester to check in IE6. Can anyone confirm that's it's working/not working either? Not sure how I can fix this one?

    Cheers

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,296
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    No, it's not working in IE6 i'm afraid.

    Is this the correct path to the htc file?
    Code:
    body { behavior: url("css/csshover3.htc"); }
    The file doesn't seem to be there.

    Use an absolute path to make sure you find it correctly.

  5. #5
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah of course, we forgot to upload that to the server!

    Thanks!


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
  •