display: inline-block is not working in IE6、IE7, here is the solution:
Note:you have to write two separate selector. If you code that in the same selector, it will not work. This is a bug of IE.
As to IE, display: inline-block only triggers the element of layout. For example, when you apply "display: inline-block" to div, it only assures it has the block feature, being able to set length, height etc. But it will not trigger a line break.
The second selector will do this.
This is exactly how it works.
Post a Comment