Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么 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
他们在 W3C 网站上有一个几乎相同的例子
a[href$=".html"]
唯一的区别是属性名称和约束类型之间没有空格,并且约束本身用引号引起来。