如何使 Internet Explorer 8 支持 nth child() CSS 元素? [英] How to make Internet Explorer 8 to support nth child() CSS element?

查看:31
本文介绍了如何使 Internet Explorer 8 支持 nth child() CSS 元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想给表格行添加斑马条纹效果.在所有其他浏览器中,它可以使用 CSS nth 子元素来完成.但我也想做IE 8.那么我该怎么做呢?

I want to give a zebra stripe effect to my table rows. In all other browsers it can be done using CSS nth child element. But i want to do it IE 8 also. SO how can i do it?

推荐答案

你可以使用http://selectivizr.com/ 支持 IE 的 css3 选择器的 JS.

You can use http://selectivizr.com/ JS which support css3 selector for IE.

这篇关于如何使 Internet Explorer 8 支持 nth child() CSS 元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆