IE CSS question....

Discussion in 'Web Design and Development' started by ChicoWeb, Mar 7, 2007.

  1. ChicoWeb macrumors 65816

    ChicoWeb

    Joined:
    Aug 16, 2004
    Location:
    California
    #1
    Quick question. I can't get this misc. margin to go away in IE for PC (haven't looked on apple nor do I want too). Anyone have any ideas?

    It's that gray bg that appears before the secondary nav items do.

    http://wealthstrategiesgroup.net/wsg/

    Thanks for any help!
     

    Attached Files:

    • ss.gif
      ss.gif
      File size:
      33.3 KB
      Views:
      23
  2. mnkeybsness macrumors 68030

    mnkeybsness

    Joined:
    Jun 25, 2001
    Location:
    Moneyapolis, Minnesota
    #2
    link doesn't work. can you post the HTML and CSS instead?
     
  3. epochblue macrumors 68000

    epochblue

    Joined:
    Aug 12, 2005
    Location:
    Nashville, TN
    #3
    It looks, at first glance, like a float + margin bug. Are you floating any elements that might also have margins?

    Can you also post the relevant CSS as that might help us diagnose the problem...
     
  4. ChicoWeb thread starter macrumors 65816

    ChicoWeb

    Joined:
    Aug 16, 2004
    Location:
    California
  5. Frobozz macrumors 65816

    Frobozz

    Joined:
    Jul 24, 2002
    Location:
    South Orange, NJ
    #5
    It's probably a blank space

    Make sure you don't have a blank space in your code on the lines being held open. IE will render the blank space, so those areas are probably being held open by the height of a letter.

    Other browsers will not render a blank space (unless it is an entity like  ) if it is not followed by another alphanumeric character.
     
  6. rogersmj macrumors 68020

    rogersmj

    Joined:
    Sep 10, 2006
    Location:
    Indianapolis, IN
    #6
    Looks like it's a ul/li issue. IE has weird issues rendering those (of course). Try setting the margin to 0 for the ul and li elements in those areas. Play around with the margin and padding on those to see if that gets you anywhere.
     

Share This Page