Forum Moderators: not2easy

Message Too Old, No Replies

display:inline-block and ie woes

         

surrealillusions

8:11 pm on Apr 7, 2009 (gmt 0)

10+ Year Member



Hi all,

Found that display:inline-block; doesnt work in IE versions upto 7. Ie8 obeys this css rule fine.

Is there a workaround for ie 6 and 7 to make it display the css inline-block correctly? Even if its a javascript hack, it'll do if it works.

:)

evilracecarlive

7:41 am on Apr 12, 2009 (gmt 0)

10+ Year Member



What tag are you applying the rule to?

In IE 6/7 it should render correctly if the display:inline-block rule is applied to an element that is inline by default. If its normally a block element then it has trouble.

swa66

3:59 pm on Apr 12, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try tripping it back to display:inline for legacy versions of IE. See [webmasterworld.com...]