當我在Mozilla,Opera和Chrome中放入css文件行CSS表格替換行不在資源管理器中繪製,但適用於Mozilla,Chrome和Opera
.properties_table tr:nth-child(even) {background: #CCC;}
.properties_table tr:nth-child(odd) {background: #FFF;}
時它看起來很好但是它沒有在Explorer 8中顯示(我只在IE 8上測試過)。 需要看起來像這樣
但看起來像這個
有沒有人有建議?
試圖改變類的名字,像這樣: '.properties_table TR:第n-child_even {背景:#CCC;} .properties_table tr:nth-child_odd {background:#FFF;}' – Faraona