SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist Maujor's Avatar
    Join Date
    Mar 2005
    Location
    Rio de Janeiro - Brazil - South America
    Posts
    409
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drop down menu bug in IE6

    Test case is here: http://www.maujorsite.com/temp/teste.html

    When we open the 2nd and 3th level submenus some borders are
    are missed in IE5.0 IE5.5 IE6 (don't test in IE7 until now).
    If the submenu are closed and then re-opens, IE bingo! the borders was there!

    A possible fix is:

    ul#nav li {margin: -1px;}

    I need another fix because this one cause double left borders and desappearing border if I set a background-color.
    TIA
    Regards
    Mauricio Samy Silva
    http://www.maujor.com/

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,355
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi Mauricio,

    You need to use 1px and not 1% here:

    Code:
    * html ul li a {height: 1px;}
    I think sometimes the 1% equates to 0 and doesn't seem to "enforce" layout correctly. You will quite often find that 1% and 1px give different behaviors in IE so always try both.

  3. #3
    SitePoint Evangelist Maujor's Avatar
    Join Date
    Mar 2005
    Location
    Rio de Janeiro - Brazil - South America
    Posts
    409
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Solved

    Thank you Paul.
    Problem fixed.
    Mauricio Samy Silva
    http://www.maujor.com/


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
  •