Forums

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

Home Forums CSS IE inline-block problem

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40790
    nejcm
    Member

    Hello. I’m asking for help with a problem I came across in IE9. I’m developing a website with fluid design and I have a nested list. The outer list has CSS styling ul-“display:block” and li-“display:inline-block”. The nested list has display list-item. Everything works fine in other browsers but IE….he has a mind of it’s own :) the list is displayed as inline-block. If I remove it from the outer list everything is fine. I looked everywhere for the answer but I did’t find anything specific on the subject. Thanks for the help! If needed I will post the code.

    #114279
    Watson90
    Member

    Do you have anchors in this list that you want to be click able?

    #114280
    nejcm
    Member

    Yes. One in each one.

    #114281
    Watson90
    Member

    Well, it’s usually best to add;

    display: block;

    to the anchors themselves to maximise the clicking area if padding is applied etc.

    also, instead of;

    display: inline-block;

    try using;

    float: left;

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