0

I have this css witch works perfectly with all browser exept ie8 this is my css

.team-list.list2:nth-child(2n) li {
        margin: 0 0 0 56px;
    }

.team-list:nth-child(2n) {
    margin: 0 -100px 0 -150px;
}

    .team-list:nth-child(2n) li {
        margin: -101px 0 0 73px;
    }

how to make it compatible with ie8

I tried to add selectvizir but it does not work i know that there a solution with jquery but i am so novice in jquery so could you help me find solution?

rota90
  • 249
  • 1
  • 4
  • 17
  • possible duplicate of [How to make Internet Explorer 8 to support nth child() CSS element?](http://stackoverflow.com/questions/10577674/how-to-make-internet-explorer-8-to-support-nth-child-css-element) – Oriol Apr 16 '15 at 17:43
  • I saw it and tried it but no result – rota90 Apr 16 '15 at 17:49
  • why is selectvizir not working, can you show how you add it? – Sionnach733 Apr 16 '15 at 18:10
  • I download it from here : http://selectivizr.com/ and add this script i changed of course the path – rota90 Apr 17 '15 at 08:08

1 Answers1

0

for IE8 you could add the following script and it should perform like any modern SANE browser :)

    <!--[if lt IE 9]>
        <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
    <![endif]-->

you check out other IE scripts here.

Sionnach733
  • 4,686
  • 4
  • 36
  • 51