此代码在所有浏览器中都可以正常工作,但在 Internet Explorer 和旧版浏览器中不起作用。对于旧浏览器和 Internet Explorer,也可以使用 jquery 来实现吗?
.post {position:relative;float:left;width:207px;height:300px;margin-right:24px}
.post:nth-child(4n) {margin-right:0px !important;}
此代码在所有浏览器中都可以正常工作,但在 Internet Explorer 和旧版浏览器中不起作用。对于旧浏览器和 Internet Explorer,也可以使用 jquery 来实现吗?
.post {position:relative;float:left;width:207px;height:300px;margin-right:24px}
.post:nth-child(4n) {margin-right:0px !important;}