为什么检查css中的属性在IE-7中不工作? [英] Why checked property in css is not working in IE-7?

查看:89
本文介绍了为什么检查css中的属性在IE-7中不工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在css中使用这样的东西

I am using some thing like this in css

input[type=radio]:checked + label { color:#121212 }

问题是这个checked属性在Internet-Explorer-8和7中不工作。

the problem is this the checked property is not working in Internet-Explorer-8 and 7.

ifI使用这样

input[type=radio] + label { color:$888888 }

其工作正常

请告诉我

推荐答案

的替代方法。

您可以使用 http://selectivizr.com/ JS。它支持旧版本的IE中的css3选择器。

You can use http://selectivizr.com/ JS. It's support css3 selector in older version of IE.

这篇关于为什么检查css中的属性在IE-7中不工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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