SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: IE7 bug with CSS menu

  1. #1
    SitePoint Addict Mainer82's Avatar
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE7 bug with CSS menu

    This script / CSS works in IE6, Moz, etc but not with IE7... I've gone over the code and can't see what the issue is... Any help would be appreciated: http://www.seedirtrun.com/
    Get to know the man behind the screen

  2. #2
    SitePoint Evangelist
    Join Date
    Jul 2006
    Posts
    493
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try
    #nav ul li a {min-height:1%;}
    or
    #nav a {min-height:1%;}
    to set hasLayout where necessary

  3. #3
    Non-Member deathshadow's Avatar
    Join Date
    Jul 2006
    Location
    Dublin, NH
    Posts
    901
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesn't work in Opera either - which means dimes to dollars Safari is out too.

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    SitePoint Award Recipient Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    37,771
    Mentioned
    99 Post(s)
    Tagged
    3 Thread(s)
    HI,

    To fix ie7 do as Dan already said and add thisd:

    Code:
    #navcontainer ul li,#navcontainer ul li a{
       min-height:1%;
    }

    Tio fix opera remove this:
    Code:
    #nav li {
      /* display: inline;*/
       padding: 0;
       margin: 0;
    }

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
  •