css inline-block ie7 hack
<!--[if IE 7]>
<style>
.menu {
zoom:1;
*display:inline
}
</style>
<![endif]-->
Written by Chungsub Kim
Related protips
4 Responses

cross-browser method:
.element { display: inline-block; *display: inline; zoom: 1; }
over 1 year ago
·

@basiclines wow, good tip! thank you!
over 1 year ago
·

Thanks for the tip. For those wondering about the relevance of setting zoom to 1: http://bit.ly/13xMAf2
over 1 year ago
·

@basiclines I don't like hacks like that.
@subicura You don't need to put that * if you use if IE 7. This is hack.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#