Grow your CSS skills. Land your dream job.

Clearing in IE8

  • # May 24, 2013 at 7:54 am

    Hi,

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

    http://zcf.websitesnewcastle.com/who-we-are/meet-the-team/

    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?

    Cheers,
    Steve

    # 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.

    http://selectivizr.com/

    # 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.

*May or may not contain any actual "CSS" or "Tricks".