Inline block doesn't work in internet explorer 7, 6

前端 未结 2 1285
独厮守ぢ
独厮守ぢ 2020-11-22 08:45

I have this CSS code with an inline-block. Can anyone tell me how to make it work in Internet Explorer 6 and 7. Any ideas? Maybe I\'m doing something wrong? Tha

2条回答
  •  死守一世寂寞
    2020-11-22 09:07

    *display:inline works fine as IE7 hack. But, you can add zoom:1 to the code as *background:#fff; *display:inline; zoom:1. Here, you can put your background color code. Sometime, you will not see the layout on the screen, say, for example, list-items will not appear on screen. Then, in such cases this works great and appear as it does in other browsers.

提交回复
热议问题