#subnav li {background-color: expression(this.previousSibling==null?’red’:’green’);}
:last-child 也可以用类似的方法支持:this.previousSibling==null 更改为 this.nextSibling==null。
来源:http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/comment-page-1/
标签:IE6