【发布时间】:2013-07-30 21:58:35
【问题描述】:
我在一个 WordPress css 文件中找到了这个,但我不明白:
html { margin-top: 28px !important; }
* html body { margin-top: 28px !important; }
为什么需要第二行以及 * html body 选择什么?
【问题讨论】:
-
谷歌:“明星 html hack”
-
This site(在条件 cmets 部分之后的底部)有一个不错的 IE CSS hack 列表,包括
* html选择器 hack。 @Adrift 仅供参考,您的链接适用于规则之前的*,而此问题适用于选择器之前的*。
标签: html css wordpress internet-explorer