我有这样的CSS:
.inline-block {
display: -moz-inline-stack;
display: inline-block;
*display: inline;
zoom: 1;
width: 100px;
}
当我通过运行 CSSLint
csslint --ignore=star-property-hack test.css
它仍然显示此错误:
width can't be used with display: inline.
width: 100px;
有什么解决办法吗?