Infekted Media

Ponderings, Attempts, and Resources

Archive for the 'Browsers' Category

White-space with <li> in IE

Sunday, December 17th, 2006

For some reason, when using an unordered or ordered list, Internet Explorer 6.0 adds what appears as an entire line of space between each item. I found that as long as I don’t use a carriage return after each item, and leave all items on a single line, it fixes the problem. But I really didn’t want to mess with my formatting. I like my formatting. So I continued researching to find another solution and found that by using display:inline-block; it cleared up this problem quite nicely.