是“*html”一个有效的选择器?

发布于 2024-12-10 20:52:56 字数 364 浏览 0 评论 0原文

正如

*html .tblCol5 div.removeColumn{width:58px}

我在 FF 错误控制台中遇到的错误。我找到了解决方案 CSS 星形选择器。正确的语法是 * html (在“ * ”和 html 之间插入一个空格)。尽管我没有发布这个问题,但我没有看到类似的问题,因此认为出于信息目的值得发布该问题(如果允许的话)。

As in

*html .tblCol5 div.removeColumn{width:58px}

I'm getting an error on this in FF Error Console. I've found the solution CSS Star Selector. The correct syntax is * html (insert a space between " * " and html). Even though I didn't post the question, I didn't see one similar to it so thought it was worth posting for informational purposes (if that is allowed).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谈情不如逗狗 2024-12-17 20:52:56

那是因为 * 本身就是一个选择器,它意味着:“一切”,而 *html 没有任何意义。

That's because * is a selector itself, it means: 'everything', while *html has no meaning..

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文