我無法在IE 9中獲得nth-type類型的工作 - >目前我的ccs代碼在IE 8上工作。任何人都可以提出解決方法嗎?在桌面設備上我正在想4個COLS和移動至1個COLnth類型不工作在IE 9
URL http://aboriginalart.org.au/aaaa/artist-members/
.author-block {
/*width: 48%;*/
width: 23%;
/*margin-right: 3.8%;*/
margin-right: 9px;
float: left;
/*margin-bottom: 1.5em;*/
/*font-size: 14px !important;*/
}
/* 2,4,6 */
.author-block1:nth-of-type(4n) {
margin-right: 0;
}
/* 1,3,5 */
.author-block1:nth-of-type(4n+1) {
clear: both;
}
/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 320px) {
.author-block {
width: 100%;
margin-right: 10px;
float: left;
}
/* 2,4,6 */
.author-block1:nth-of-type(1n) {
margin-right: 0;
}
/* 1,3,5 */
.author-block1:nth-of-type(1n+1) {
clear: both;
}
/* Desktops and laptops ----------- */
@media only screen and (min-width : 480px) {
.author-block {
width: 48%;
margin-right: 10px;
float: left;
}
/* 2,4,6 */
.author-block1:nth-of-type(2n) {
margin-right: 0;
}
/* 1,3,5 */
.author-block1:nth-of-type(2n+1) {
clear: both;
}
/* Desktops and laptops ----------- */
@media only screen and (min-width : 768px) {
.author-block {
width: 30%;
margin-right: 10px;
float: left;
}
/* 2,4,6 */
.author-block1:nth-of-type(3n) {
margin-right: 0;
}
/* 1,3,5 */
.author-block1:nth-of-type(3n+1) {
clear: both;
}
/* Desktops and laptops ----------- */
@media only screen and (min-width : 1224px) {
.author-block {
width: 24%;
margin-right: 10px;
float: left;
}
/* 2,4,6 */
.author-block1:nth-of-type(4n) {
margin-right: 0;
}
/* 1,3,5 */
.author-block1:nth-of-type(4n+1) {
clear: both;
}