【发布时间】:2017-01-11 18:41:10
【问题描述】:
在 css2.1 规范 w3.org 中,有一个例子解释了包含块是如何形成的。
<P id="p2">This is text
<EM id="em1">
in the
<STRONG id="strong1">second</STRONG>
paragraph.
</EM>
</P>
当位置em为静态时,strong的包含块由p建立,但当位置em为绝对时,strong的包含块由em建立。
我浏览了有关包含块的章节,无法找到绝对位置是否会形成新的包含块。我有什么遗漏的吗?
【问题讨论】:
标签: html css css-position