IE7 and display:inline-block

It seems that Internet Explorer 7 doesn’t know how to handle the display:inline-block style. Since that is a neat way to center navigation lists, I needed it to work though. I found the solution on this page:

li {
display: inline-block;
zoom: 1;
*display: inline;


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.