Search code examples
cssinternet-explorer-7css-selectorspseudo-class

Why checked property in css is not working in IE-7?


I am using some thing like this in css

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

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

ifI use like this

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

its working properly

Please tell me alternate of this


Solution

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