<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 6 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 6 年前。
我正在尝试使用 CSS 为我的搜索栏提供背景。但是 chrome 一直给出错误“无效的属性值”。这很奇怪,因为我的导航栏是完全相同的代码但没有给出错误? http://ispiked.net/tests/
最佳答案
这是因为您还指定了“不重复”以及背景图片。将您的代码更改为:
background: url(images/searchbar.png) no-repeat;
关于html - 无效的属性值?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11421008/