Pseudoclasses :first-child and :last-child for IE6
来源:互联网 发布:中级程序员考证培训费 编辑:程序博客网 时间:2024/06/06 07:14
#subnav li {background-color: green;}
#subnav li:first-child {background-color: red;}
CSS for IE 6 (using conditional comments):
<!–-[if IE 6]>
#subnav li {background-color: expression_r(this.previousSibling==null?'red':'green');}
<![endif]-->
Similar to :last-child
Instead of this.previousSibling==null there should be this.nextSibling==null
- Pseudoclasses :first-child and :last-child for IE6
- css:first-child、last-child、nth-child、 nth-last-child
- first-child 和 last-child的使用
- :last-child works, :first-child doesn't
- :first-child :last-child IE5,IE6,IE7,IE8的css兼容性列表
- first VS first child , last VS last-child
- CSS3中first-child、last-child、nth-child、nth-last-child
- ie6.0 first:child ,firstchild,css-firstchild,css first-child
- jquery子元素过滤选择器:nth-child、:first-child、:last-child、:only-child
- 【实用随记】ie下不支持first-child,last-child
- jquery 的:first-child 和:last-child 选择器实例
- 【CSS3】---结构性伪类选择器-first-child+last-child
- IE6、IE7不支持 first-child 属性
- first-child first-of-type last-child last-of-type 伪类选择器总结
- jQuery 选择器 first-child和first-of-type、 last-child和last-of-type的区别
- css中的first-child nth-child nth-last-child() 和:nth-of-type(n)
- CSS选取第几个标签元素:nth-child、first-child、last-child
- CSS选取第几个标签元素:nth-child(n)、first-child、last-child
- 音频处理领域的瑞士军刀──SoX
- poj 2185(流的最小费用的充要条件)消负圈
- POJ 2318 TOYS (点与线段关系)
- Java、Tomcat、Android环境变量配置
- 具体的数据库操作类,Model类和DB类
- Pseudoclasses :first-child and :last-child for IE6
- Host XXX is blocked because of many connection errors
- SQL Server中的视图和查询语句的异同
- 有用的:nth-child秘方
- Oracle数据库监听配置
- poj1947(树形dp)
- Java 深拷贝
- NPOI 生成Excel 的——常用
- hdu_4342 History repeat itself (简单想法题)