Treehouse: Grow your CSS skills. Land your dream job.

ul not playing nice in IE7

  • # May 17, 2009 at 9:22 am

    Hi all.

    Hope I’m not asking the most obvious IE debugging question in history: I have a series of non-navigational unordered lists in the body of my page that persistently display incorrectly in IE7 and below. The list items seem to randomly (but consistently) butt up against each other horizontally within the given horizontal space instead of displaying one line after another. I’ve already set ul’s and li’s to display:inline and float:left, which seems to be best practice for solving various IE problems, but this hasn’t helped. Any hints, tips or fixes much appreciated.

    The page is here: … ments.html


    # May 17, 2009 at 9:54 am

    Setting li’s to display:inline and float:left is what you use to display a list horizontally eg. for navigation.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.