css selector on IE

Posted by user121196 on Stack Overflow See other posts from Stack Overflow or by user121196
Published on 2010-03-29T21:21:44Z Indexed on 2010/03/29 21:23 UTC
Read the original article Hit count: 115

Filed under:

I'm using .class1.class2 .class3 selector, works fine in FF, but on IE7, it doesn't work. In the css below, the second style is always shown in IE. any solution?

 
<STYLE type="text/css">
.test1.test2 .test3{
    width:90px;
    height:100px;
}
.test4.test2 .test3{
    width:900px;
    height:100px;
}
</style>


<div class="test1 test2">
    <button value="test" class="test3"/>
</div>

© Stack Overflow or respective owner

Related posts about css