The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problem with inline-block

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #39647

    I’ve used inline-block in a template but when I testes it on IE7 and IE8 it doesn’t work…so I’ve searched a solution and found that I have to add
    *diplay: inline;
    zoom: 1;
    and it doesn’t work either…please help me !

    Andy Howells

    Please create a [codepen]( – we can then have a look and see what the problem is.

    It’s likely something else is causing this problem.


    You wrote it like this?

    #yourElement {
    display: inline-block;
    *display: inline;
    zoom: 1;
    Write it in that order. If that doesn’t work then something else is wrong as that is the IE7 fix for that. IE7 does not support inline-block without a hack.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.