difference in IE and FF with horizontal navigation tabs

Discussion in 'CSS' started by driven, Oct 12, 2006.

  1. #1
    At this site.

    there is a difference in how the horizontal tabs are viewed in both IE6.0 and Firefox.

    Do I need some sort of a hack for this? Or how do I go about resolving this issue?

    thanks guys.
     
    driven, Oct 12, 2006 IP
  2. penagate

    penagate Guest

    Messages:
    277
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It's a simple issue with differing default margins on elements.

    You can fix this particular instance using:
    #topnav ul
    {
      /* ... */
      margin-bottom: 0;
    }
    
    Code (CSS):
    What I do is insert this rule before others:
    * { margin: 0; padding: 0; border: 0; }
    
    Code (CSS):
    That resets browser default values so that you have less to worry about.
     
    penagate, Oct 13, 2006 IP
    driven likes this.
  3. driven

    driven Well-Known Member

    Messages:
    400
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    138
    #3
    Sorry for the late response. But yes, that does the trick. Thanks for pointing that out to me.
     
    driven, Oct 15, 2006 IP