我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的情況下指定這兩種方式,也不需要指定整個樣式兩次