Get a free trial // Grow your CSS skills // Land your dream job

Clearing in IE8

  • # May 24, 2013 at 7:54 am


    I’m using selectivzr so I can use nth-child to clear rows on a site I’m doing.

    As usual, in most browsers it looks good, however in IE8 the CSS doesn’t seem to having the same effect and isn’t clearing properly.

    Can anyone offer any help on how I could make it work in IE8?


    # May 24, 2013 at 8:13 am

    nth-child isn’t supported by IE8

    JS would seem to be the answer…or a clearfix class.

    # May 25, 2013 at 5:21 am

    Hi – I am using selectivzr (I did put that in the post above). I only want to clear left.

    # May 25, 2013 at 5:54 am

    I’ve had to put a min-height on the divs in IE8 – I’m not sure selectivzr is that reliable.

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

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed