Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ChicoWeb

macrumors 65816
Original poster
Aug 16, 2004
1,120
0
California
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!
 

Attachments

  • ss.gif
    ss.gif
    33.3 KB · Views: 104
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...
 
It's probably a blank space

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!

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.
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.