cssコードで使用nth-child
していますが、IE 8では機能しません。IE8では処理できないことはわかっていnth-child
ますが、機能させる方法を見つける必要があります。
これが私のコードです:
.paypalshop .shop-groups li:nth-child(1){
float:left;
border: 1px solid #ccc;
width:200px;
}
.paypalshop .shop-groups li:nth-child(2){
float:left;
border: 1px solid #ccc;
width:150px;
}
.paypalshop .shop-groups li:nth-child(3){
float:left;
border: 1px solid #ccc;
width:210px;
}
.paypalshop .shop-groups li:nth-child(4){
float:left;
border: 1px solid #ccc;
width:200px;
}
.paypalshop .shop-groups li:nth-child(5){
float:left;
border: 1px solid #ccc;
width:70px;
}
.paypalshop .shop-groups li:nth-child(6){
float:left;
border: 1px solid #ccc;
width:105px;
}
.paypalshop .shop-groups li:nth-child(7){
float:left;
border: 1px solid #ccc;
width:154px;
}
.paypalshop .shop-groups li:nth-child(8){
float:left;
border: 1px solid #ccc;
width:130px;
}
.paypalshop .shop-groups li:nth-child(9){
float:left;
border: 1px solid #ccc;
width:220px;
}
.paypalshop .shop-groups li:nth-child(10){
float:left;
border: 1px solid #ccc;
width:220px;
}
nth-child
したがって、必要なのは、IE 8で関数を機能させる方法を見つけることです。IE8で機能させるために使用できるjQueryメソッドはありますか?
ありがとうございました!