IE7 and display:inline-block


August 09, 2013 at 07:15
CSS

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;
}
Awesome!

Tags: css fix IE7 inline-block internet explorer


Hinterlasse einen Kommentar:
Search