我HAE以下CSS选择器:CSS断裂处IE6
.section h1,
.section > div:first-child
{
background-color: #E5E5E5;
border-bottom: solid 1px #CCCCCC;
padding: 3px;
text-align:left;
font-weight:bold;
}
现在我知道,第一孩子和>选择不工作在IE6,但.section伪H1一样。我的问题是,在IE6中,由于.section> div:first-child,.section h1没有得到应用。有没有什么办法可以在不破坏IE的情况下指定这两种方式,也不需要指定整个样式两次