1

为什么 W3C Validator 在此显示解析错误。我也从下拉列表中选择了 CSS3 配置文件。

a[href $=.xls]{background: transparent url(ms-excel-icon.gif) left top no-repeat;
padding-left: 22px;display: block;height: 16px;}

替代文字 http://shup.com/Shup/347107/11042455758-My-Desktop.png

4

1 回答 1

0

他们在 W3C 网站上有一个几乎相同的例子

a[href$=".html"]

唯一的区别是属性名称和约束类型之间没有空格,并且约束本身用引号引起来。

于 2010-05-24T05:10:05.477 回答