SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2009
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Ie6 Navigation Problem

    Hi there,

    Ive run into this annoying problem for ie display..
    take a look at the site here

    FF is fine of course but ie6 is adding some extra 2px margin to each of the li items which is pushing the contact button out of the wrapper. I think i may also have run into a double margin problem..

    Any solutions would be great

  2. #2
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    display:inline; added to the offending element will fix the IE6 Double Margin Bug.
    Code:
    #nav li{    
        float: left;
        list-style: none;
        line-height: 36px;
        margin-left: 68px;
        margin-bottom: 54px;
        display:inline;/*fix IE6 margin bug*/
    }

  3. #3
    SitePoint Enthusiast
    Join Date
    May 2009
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ahh, i kept trying inline-block!!

    Silly me.

    Thanks for this one


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
  •